new stats shortcut

This commit is contained in:
Damien Elmes 2018-05-31 13:05:30 +10:00
parent fd6d02bf6a
commit 9b7c701f25
2 changed files with 2 additions and 2 deletions

View file

@ -708,7 +708,7 @@ title="%s" %s>%s</button>''' % (
("s", self.onStudyKey), ("s", self.onStudyKey),
("a", self.onAddCard), ("a", self.onAddCard),
("b", self.onBrowse), ("b", self.onBrowse),
("Shift+s", self.onStats), ("t", self.onStats),
("y", self.onSync) ("y", self.onSync)
] ]
self.applyShortcuts(globalShortcuts) self.applyShortcuts(globalShortcuts)

View file

@ -33,7 +33,7 @@ class Toolbar:
["decks", _("Decks"), _("Shortcut key: %s") % "D"], ["decks", _("Decks"), _("Shortcut key: %s") % "D"],
["add", _("Add"), _("Shortcut key: %s") % "A"], ["add", _("Add"), _("Shortcut key: %s") % "A"],
["browse", _("Browse"), _("Shortcut key: %s") % "B"], ["browse", _("Browse"), _("Shortcut key: %s") % "B"],
["stats", _("Stats"), _("Shortcut key: %s") % "Shift+S"], ["stats", _("Stats"), _("Shortcut key: %s") % "T"],
["sync", _("Sync"), _("Shortcut key: %s") % "Y"], ["sync", _("Sync"), _("Shortcut key: %s") % "Y"],
] ]
return self._linkHTML(links) return self._linkHTML(links)