summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-02-04 12:37:12 +0100
committerLaurent Montel <[email protected]>2018-02-04 12:37:12 +0100
commitdc2b7db932e21b7b1c5a1fbb9e41d4ac98a1d09d (patch)
tree668cfb5513945d712a9cc559e17e46a0f06c1b49
parent686e02e48340ac8bffba11227b389650fc113ff8 (diff)
Fix fill menu
-rw-r--r--templateparser/src/templatesinsertcommandpushbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/templateparser/src/templatesinsertcommandpushbutton.cpp b/templateparser/src/templatesinsertcommandpushbutton.cpp
index e0866d4..368536a 100644
--- a/templateparser/src/templatesinsertcommandpushbutton.cpp
+++ b/templateparser/src/templatesinsertcommandpushbutton.cpp
@@ -413,6 +413,7 @@ TemplatesInsertCommandPushButton::TemplatesInsertCommandPushButton(QWidget *pare
setText(i18n("&Insert Command"));
fillMenu();
+ setMenu(mMenu->menu());
}
TemplatesInsertCommandPushButton::~TemplatesInsertCommandPushButton()
@@ -478,7 +479,6 @@ void TemplatesInsertCommandPushButton::fillMenu()
fillMenuFromActionMap(commandMap, menu);
- setMenu(mMenu->menu());
}