Aggiunta modifica per impostare in prassi.mnu livelli anche non successivi:
ed es. passare da 15 a 18. git-svn-id: svn://10.65.10.50/trunk@2972 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
0be61beb4e
commit
e14fef8edd
@ -251,7 +251,8 @@ void TMenu_application::load_menu()
|
||||
{
|
||||
error_box("Too many menu levels: %d", l);
|
||||
l = _max;
|
||||
}
|
||||
}
|
||||
_first[++_max] = _menu.items();
|
||||
_first[_max = l] = _menu.items();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user