Change the behavior of ACTION_MENU::Add to require clones if required outside the function

This commit is contained in:
Marek Roszko
2022-04-11 20:39:08 -04:00
parent d0796399a2
commit fe11bc8330
8 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ void CONDITIONAL_MENU::Evaluate( SELECTION& aSelection )
case ENTRY::MENU:
entry.Menu()->UpdateTitle();
Add( entry.Menu() );
Add( entry.Menu()->Clone() );
menu_count++;
break;