diff --git a/src/mode/katemodemenu.h b/src/mode/katemodemenu.h --- a/src/mode/katemodemenu.h +++ b/src/mode/katemodemenu.h @@ -39,6 +39,7 @@ : KActionMenu(text, parent) { init(); + setDelayed(false); } ~KateModeMenu(); diff --git a/src/schema/kateschema.h b/src/schema/kateschema.h --- a/src/schema/kateschema.h +++ b/src/schema/kateschema.h @@ -87,6 +87,7 @@ : KActionMenu(text, parent) { init(); + setDelayed(false); } void updateMenu(KTextEditor::ViewPrivate *view); diff --git a/src/script/katescriptaction.cpp b/src/script/katescriptaction.cpp --- a/src/script/katescriptaction.cpp +++ b/src/script/katescriptaction.cpp @@ -73,6 +73,7 @@ , m_view(view) { repopulate(); + setDelayed(false); // on script-reload signal, repopulate script menu connect(KTextEditor::EditorPrivate::self()->scriptManager(), SIGNAL(reloaded()), diff --git a/src/syntax/katehighlightmenu.h b/src/syntax/katehighlightmenu.h --- a/src/syntax/katehighlightmenu.h +++ b/src/syntax/katehighlightmenu.h @@ -37,6 +37,7 @@ : KActionMenu(text, parent) { init(); + setDelayed(false); } ~KateHighlightingMenu(); diff --git a/src/utils/kateautoindent.cpp b/src/utils/kateautoindent.cpp --- a/src/utils/kateautoindent.cpp +++ b/src/utils/kateautoindent.cpp @@ -458,6 +458,7 @@ KateViewIndentationAction::KateViewIndentationAction(KTextEditor::DocumentPrivate *_doc, const QString &text, QObject *parent) : KActionMenu(text, parent), doc(_doc) { + setDelayed(false); connect(menu(), SIGNAL(aboutToShow()), this, SLOT(slotAboutToShow())); actionGroup = new QActionGroup(menu()); } diff --git a/src/utils/katebookmarks.cpp b/src/utils/katebookmarks.cpp --- a/src/utils/katebookmarks.cpp +++ b/src/utils/katebookmarks.cpp @@ -88,6 +88,7 @@ KActionMenu *actionMenu = new KActionMenu(i18n("&Bookmarks"), this); ac->addAction(QStringLiteral("bookmarks"), actionMenu); + actionMenu->setDelayed(false); m_bookmarksMenu = actionMenu->menu(); connect(m_bookmarksMenu, SIGNAL(aboutToShow()), this, SLOT(bookmarkMenuAboutToShow()));