1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39:27 +02:00

Bug 2419 - Time toolbar: Opening and closing preferences resets format to hh:mm:ss

This commit is contained in:
Leland Lucius 2020-05-30 16:02:15 -05:00
parent 7b9040c7e2
commit 7ac58ac4cc

View File

@ -76,6 +76,10 @@ void TimeToolBar::Populate()
// Get the default time format
auto format = NumericConverter::HoursMinsSecondsFormat();
if (mListener)
{
format = mListener->TT_GetAudioTimeFormat();
}
// Create the read-only time control
mAudioTime = safenew NumericTextCtrl(this, AudioPositionID, NumericConverter::TIME, format, 0.0, rate);