Bug ID: 408584
           Summary: Menu entries with submenu entries do not display
                    keyboard shortcut
           Product: frameworks-kxmlgui
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
  Target Milestone: ---

Created attachment 120801
Kate showing its Input Modes menu entry, without a keyboard shortcut

I've noticed that the menu entries doesn't show their keyboard shortcuts if
they have submenu entries.

Attached is a screenshot of a menu entry in Kate that I've been looking at.

The code for this entry is found in «kateview.cpp», lines 694-698:

    a = ac->addAction(QStringLiteral("switch_next_input_mode"));
    a->setText(i18n("Switch to Next Input Mode"));
    ac->setDefaultShortcut(a, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_V));
    a->setWhatsThis(i18n("Switch to the next input mode."));
    connect(a, SIGNAL(triggered(bool)), SLOT(cycleInputMode()));

You are receiving this mail because:
You are watching all bug changes.

Reply via email to