mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Proper initialization of menu handlers from preferences
This commit is contained in:
@@ -526,6 +526,10 @@ void UpdatePrefs() override
|
||||
mCircularTrackNavigation =
|
||||
gPrefs->ReadBool(wxT("/GUI/CircularTrackNavigation"), false);
|
||||
}
|
||||
Handler()
|
||||
{
|
||||
UpdatePrefs();
|
||||
}
|
||||
|
||||
}; // struct Handler
|
||||
|
||||
|
@@ -1070,6 +1070,10 @@ void UpdatePrefs() override
|
||||
gPrefs->Read(wxT("/AudioIO/SeekShortPeriod"), &mSeekInfo.mSeekShort, 1.0);
|
||||
gPrefs->Read(wxT("/AudioIO/SeekLongPeriod"), &mSeekInfo.mSeekShort, 15.0);
|
||||
}
|
||||
Handler()
|
||||
{
|
||||
UpdatePrefs();
|
||||
}
|
||||
|
||||
}; // struct Handler
|
||||
|
||||
|
Reference in New Issue
Block a user