1
0
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:
James Crook 2020-06-03 13:16:21 +01:00
parent 296a9a2291
commit 9e3cb149f3

View File

@ -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();