mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Always assign an order if a bar is docked
Otherwise, the next time Audacity is started, it will become undocked.
This commit is contained in:
parent
9f5f5e36ad
commit
7c1535fdfd
@ -98,6 +98,11 @@ int ToolDock::GetOrder( ToolBar *bar )
|
||||
|
||||
if( order == wxNOT_FOUND )
|
||||
{
|
||||
if( bar->GetDock() == this )
|
||||
{
|
||||
return 999;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user