]> git.lyx.org Git - features.git/commitdiff
Forgotten accelerators.
authorPavel Sanda <sanda@lyx.org>
Fri, 22 Mar 2019 21:14:21 +0000 (22:14 +0100)
committerPavel Sanda <sanda@lyx.org>
Fri, 22 Mar 2019 21:14:21 +0000 (22:14 +0100)
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/ui/LocalLayoutUi.ui
src/frontends/qt4/ui/PreambleUi.ui

index 7e40a69e77afa2fc3b74de659dfd9768b8058506..c3641b9046f3a6824040f90781329257d9af6143 100644 (file)
@@ -559,7 +559,7 @@ void PreambleModule::editExternal() {
                docstring const s = tempfilename.fileContents("UTF-8");
                preambleTE->document()->setPlainText(toqstr(s));
                tempfile_.reset();
-               editPB->setText(qt_("Edit"));
+               editPB->setText(qt_("&Edit"));
                changed();
                return;
        }
@@ -575,7 +575,7 @@ void PreambleModule::editExternal() {
        os.close();
        preambleTE->setReadOnly(true);
        theFormats().edit(*current_id_, tempfilename, format);
-       editPB->setText(qt_("End Edit"));
+       editPB->setText(qt_("&End Edit"));
        changed();
 }
 
@@ -731,7 +731,7 @@ void LocalLayout::editExternal() {
                docstring const s = tempfilename.fileContents("UTF-8");
                locallayoutTE->document()->setPlainText(toqstr(s));
                tempfile_.reset();
-               editPB->setText(qt_("Edit"));
+               editPB->setText(qt_("&Edit"));
                changed();
                return;
        }
@@ -747,7 +747,7 @@ void LocalLayout::editExternal() {
        os.close();
        locallayoutTE->setReadOnly(true);
        theFormats().edit(*current_id_, tempfilename, format);
-       editPB->setText(qt_("End Edit"));
+       editPB->setText(qt_("&End Edit"));
        validatePB->setEnabled(false);
        hideConvert();
        changed();
index 8a942f5fb2c3395e66d6bc4ac78259ebc3a2b9b0..abb29c5a78fcbaf3a8a2953e09c18bc65c33868d 100644 (file)
@@ -71,7 +71,7 @@
      <item row="0" column="3">
       <widget class="QPushButton" name="editPB">
        <property name="text">
-        <string>Edit</string>
+        <string>&amp;Edit</string>
        </property>
       </widget>
      </item>
index 4877b585d2ee601a0c88d563fe20bebbfd2c5b0e..6c6b12e76adeda69414b4f8e873a1105068596fd 100644 (file)
    <item row="1" column="1">
     <widget class="QPushButton" name="findButtonPB">
      <property name="text">
-      <string>Find</string>
+      <string>&amp;Find</string>
      </property>
     </widget>
    </item>
    <item row="1" column="2">
     <widget class="QPushButton" name="editPB">
      <property name="text">
-      <string>Edit</string>
+      <string>&amp;Edit</string>
      </property>
     </widget>
    </item>