mirror of
https://github.com/ankitects/anki.git
synced 2025-12-11 05:46:55 -05:00
change shortcuts to avoid conflicts, remove alt-a indicator
This commit is contained in:
parent
bc80501454
commit
1350c9c338
2 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ class AddCards(QDialog):
|
|||
QDesktopServices.openUrl(QUrl(ankiqt.appWiki + "AddItems"))
|
||||
|
||||
def addButtons(self):
|
||||
self.addButton = QPushButton(_("&Add"))
|
||||
self.addButton = QPushButton(_("Add"))
|
||||
self.dialog.buttonBox.addButton(self.addButton,
|
||||
QDialogButtonBox.ActionRole)
|
||||
self.addButton.setShortcut(_("Ctrl+Return"))
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class ModelChooser(QHBoxLayout):
|
|||
label = QLabel(_("<b>Model</b>:"))
|
||||
self.addWidget(label)
|
||||
self.models = QComboBox()
|
||||
s = QShortcut(QKeySequence(_("Ctrl+Alt+m")), self.parent)
|
||||
s = QShortcut(QKeySequence(_("Shift+Alt+m")), self.parent)
|
||||
s.connect(s, SIGNAL("activated()"),
|
||||
lambda: self.models.showPopup())
|
||||
self.drawModels()
|
||||
|
|
@ -40,7 +40,7 @@ class ModelChooser(QHBoxLayout):
|
|||
self.connect(self.add, SIGNAL("clicked()"), self.onAdd)
|
||||
self.edit = QPushButton()
|
||||
self.edit.setIcon(QIcon(":/icons/edit.png"))
|
||||
self.edit.setShortcut(_("Ctrl+Alt+e"))
|
||||
self.edit.setShortcut(_("Shift+Alt+e"))
|
||||
self.edit.setToolTip(_("Edit the current model"))
|
||||
self.edit.setAutoDefault(False)
|
||||
self.addWidget(self.edit)
|
||||
|
|
|
|||
Loading…
Reference in a new issue