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:
parent
7b9040c7e2
commit
7ac58ac4cc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user