]> git.lyx.org Git - features.git/commitdiff
Add accelerators
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Jul 2023 08:33:20 +0000 (10:33 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Jul 2023 08:33:20 +0000 (10:33 +0200)
src/frontends/qt/GuiWorkArea.cpp

index de3f70b33812ede3cee0768a23b2ddcae8679843..ef91e0b7fd3005df0c55797beefdee8007aeee7f 100644 (file)
@@ -2085,13 +2085,13 @@ void TabWorkArea::showContextMenu(const QPoint & pos)
        // show tab popup
        QMenu popup;
        popup.addAction(QIcon(getPixmap("images/", "hidetab", "svgz,png")),
-               qt_("Hide Tab"), this, SLOT(hideCurrentTab()));
+               qt_("&Hide Tab"), this, SLOT(hideCurrentTab()));
 
        // we want to show the 'close' option only if this is not a child buffer.
        Buffer const & buf = wa->bufferView().buffer();
        if (!buf.parent())
                popup.addAction(QIcon(getPixmap("images/", "closetab", "svgz,png")),
-                       qt_("Close Tab"), this, SLOT(closeCurrentBuffer()));
+                       qt_("&Close Tab"), this, SLOT(closeCurrentBuffer()));
        popup.exec(tabBar()->mapToGlobal(pos));
 
        clicked_tab_ = -1;