mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
Reset selected tool when resetting configuration.
This commit is contained in:
@@ -205,6 +205,8 @@ void ToolsToolBar::Populate()
|
||||
mTool[ slideTool ] = MakeTool( this, bmpTimeShift, slideTool, XO("Slide Tool") );
|
||||
mTool[ multiTool ] = MakeTool( this, bmpMulti, multiTool, XO("Multi-Tool") );
|
||||
|
||||
// It's OK to reset the tool when regenerating this, e.g after visiting preferences.
|
||||
SetCurrentTool( selectTool );
|
||||
mTool[mCurrentTool]->PushDown();
|
||||
|
||||
RegenerateTooltips();
|
||||
|
Reference in New Issue
Block a user