1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Fixes crash on Linux that surfaced as a result of r12493. But, this prompted

research into why that code had been ifdef'd in the first place and allowed
the root cause to be identified.

Now the menus are cleaned up properly, which also fixes bug #458 without
having the workaround in r12639.

Basically, the problem was that attempts were being made to manipulate
menuitems on a menu that no longer existed (after the menus were rebuilt).
This commit is contained in:
lllucius
2013-10-07 08:36:07 +00:00
parent 0e30a5e98c
commit 8cb1681e47
2 changed files with 4 additions and 22 deletions

View File

@@ -165,6 +165,7 @@ void CommandManager::PurgeData()
mCurrentMenu = NULL;
mCurrentMenuName = COMMAND;
mCurrentID = 0;
mOpenMenu = NULL;
}