* 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:
Jürgen Spitzmüller 2008-04-05 10:46:48 +00:00
parent e7645f2439
commit 2704fa5466
2 changed files with 8 additions and 8 deletions

View File

@ -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: {

View File

@ -38,7 +38,7 @@
<item>
<widget class="QLabel" name="shortcutsLBL" >
<property name="text" >
<string>Show key-bindings containing:</string>
<string>Show ke&amp;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&amp;rowse...</string>
<string>Br&amp;owse...</string>
</property>
</widget>
</item>
@ -97,14 +97,14 @@
<item>
<widget class="QPushButton" name="removePB" >
<property name="text" >
<string>&amp;Remove</string>
<string>Remo&amp;ve</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="newPB" >
<property name="text" >
<string>New</string>
<string>Ne&amp;w</string>
</property>
</widget>
</item>