mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* src/frontends/qt4/GuiPrefs.cpp:
* src/frontends/qt4/ui/PrefShortcutsUi.ui: - add/disambiguate key accelerators. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24123 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e7645f2439
commit
2704fa5466
@ -2185,9 +2185,9 @@ void PrefShortcuts::on_shortcutsTW_itemSelectionChanged()
|
||||
|
||||
item_type tag = static_cast<item_type>(items[0]->data(0, Qt::UserRole).toInt());
|
||||
if (tag == UserUnbind)
|
||||
removePB->setText(qt_("Restore"));
|
||||
removePB->setText(qt_("Res&tore"));
|
||||
else
|
||||
removePB->setText(qt_("Remove"));
|
||||
removePB->setText(qt_("Remo&ve"));
|
||||
}
|
||||
|
||||
|
||||
@ -2242,7 +2242,7 @@ void PrefShortcuts::on_removePB_pressed()
|
||||
// but add an user unbind item
|
||||
user_unbind_.bind(shortcut, func);
|
||||
setItemType(items[i], UserUnbind);
|
||||
removePB->setText(qt_("Restore"));
|
||||
removePB->setText(qt_("Res&tore"));
|
||||
break;
|
||||
}
|
||||
case UserBind: {
|
||||
@ -2262,7 +2262,7 @@ void PrefShortcuts::on_removePB_pressed()
|
||||
// become System again.
|
||||
user_unbind_.unbind(shortcut, func);
|
||||
setItemType(items[i], System);
|
||||
removePB->setText(qt_("Remove"));
|
||||
removePB->setText(qt_("Remo&ve"));
|
||||
break;
|
||||
}
|
||||
case UserExtraUnbind: {
|
||||
|
@ -38,7 +38,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="shortcutsLBL" >
|
||||
<property name="text" >
|
||||
<string>Show key-bindings containing:</string>
|
||||
<string>Show ke&y-bindings containing:</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>searchLE</cstring>
|
||||
@ -63,7 +63,7 @@
|
||||
<item row="0" column="2" >
|
||||
<widget class="QPushButton" name="bindFilePB" >
|
||||
<property name="text" >
|
||||
<string>B&rowse...</string>
|
||||
<string>Br&owse...</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -97,14 +97,14 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="removePB" >
|
||||
<property name="text" >
|
||||
<string>&Remove</string>
|
||||
<string>Remo&ve</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="newPB" >
|
||||
<property name="text" >
|
||||
<string>New</string>
|
||||
<string>Ne&w</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user