fixed menu bugs introduced in f2bff5f150

Turns out setting a QMenu parent *not* in the constructor leads to very strange
behavior. All parents are now set in the constructor.
This commit is contained in:
itsmattkc
2020-04-19 16:19:08 +10:00
parent f063d4741d
commit 410f3d25dc
6 changed files with 16 additions and 29 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ public:
static void Destroy();
static Menu* CreateMenu();
static Menu* CreateMenu(QWidget *parent);
static Node* CreateFromMenuAction(QAction* action);