Fix permanent menus getting longer and longer
This commit is contained in:
parent
f98670dee7
commit
5a097a5ce7
@ -22,6 +22,7 @@ public:
|
||||
virtual void parse() = 0;
|
||||
void clearMenus() {
|
||||
menus.clear();
|
||||
permanent.clear();
|
||||
menus.resize(7);
|
||||
for(auto &x : menus)
|
||||
x.setInvalidMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user