mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
backport forgotten accelerators
This commit is contained in:
parent
026f7975fe
commit
0b24c0db58
@ -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();
|
||||
|
@ -71,7 +71,7 @@
|
||||
<item row="0" column="3">
|
||||
<widget class="QPushButton" name="editPB">
|
||||
<property name="text">
|
||||
<string>Edit</string>
|
||||
<string>&Edit</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -35,14 +35,14 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="QPushButton" name="findButtonPB">
|
||||
<property name="text">
|
||||
<string>Find</string>
|
||||
<string>&Find</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QPushButton" name="editPB">
|
||||
<property name="text">
|
||||
<string>Edit</string>
|
||||
<string>&Edit</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user