mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 08:09:41 +02:00
Reset selected tool when resetting configuration.
This commit is contained in:
parent
296a9a2291
commit
9e3cb149f3
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user