remove broken accelerator from preview button; add tooltip
This commit is contained in:
parent
4f073f0b85
commit
d44348ea47
@ -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)
|
||||
|
@ -122,7 +122,7 @@
|
||||
<item row="0" column="2">
|
||||
<widget class="QPushButton" name="previewButton">
|
||||
<property name="text">
|
||||
<string>&Preview</string>
|
||||
<string>Preview</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Shift+P</string>
|
||||
|
Loading…
Reference in New Issue
Block a user