1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

Make ToolBar read edit mode pref during initialization

Fixes an issue where the size of some toolbars is messed up when the program starts

Signed-off-by: abb128 <alexx128p@gmail.com>
This commit is contained in:
abb128 2021-07-15 21:06:07 +03:00
parent 21614a390c
commit 4e5330d05b

View File

@ -346,7 +346,7 @@ ToolBar::ToolBar( AudacityProject &project,
mHSizer = NULL;
mVisible = false;
mPositioned = false;
mEditMode = false;
mEditMode = gPrefs->Read(wxT("/GUI/Toolbars/EditMode"), false);
mGrabber = NULL;
mResizer = NULL;