remove broken accelerator from preview button; add tooltip

This commit is contained in:
Damien Elmes 2013-05-22 10:04:34 +09:00
parent 4f073f0b85
commit d44348ea47
2 changed files with 3 additions and 1 deletions

View File

@ -383,6 +383,8 @@ class Browser(QMainWindow):
# edit
c(f.actionUndo, s, self.mw.onUndo)
c(f.previewButton, SIGNAL("clicked()"), self.onTogglePreview)
f.previewButton.setToolTip(_("Preview Selected Card (%s)") %
shortcut(_("Ctrl+Shift+P")))
c(f.actionInvertSelection, s, self.invertSelection)
c(f.actionSelectNotes, s, self.selectNotes)
c(f.actionFindReplace, s, self.onFindReplace)

View File

@ -122,7 +122,7 @@
<item row="0" column="2">
<widget class="QPushButton" name="previewButton">
<property name="text">
<string>&amp;Preview</string>
<string>Preview</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+P</string>