Fix permanent menus getting longer and longer

This commit is contained in:
zvon 2021-09-13 09:55:25 +02:00
parent f98670dee7
commit 5a097a5ce7

View File

@ -22,6 +22,7 @@ public:
virtual void parse() = 0;
void clearMenus() {
menus.clear();
permanent.clear();
menus.resize(7);
for(auto &x : menus)
x.setInvalidMenu();