Commit dc2b7db9 authored by Laurent Montel's avatar Laurent Montel 😁

Fix fill menu

parent 686e02e4
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment