Forgotten accelerators.

This commit is contained in:
Pavel Sanda 2019-03-22 22:14:21 +01:00
parent a72f4327a3
commit 066a164ba6
3 changed files with 7 additions and 7 deletions

View 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();

View 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>

View File

@ -35,14 +35,14 @@
<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>