we can use the old undo shortcut on 5.11
webviews no longer propagate the captured shortcut
This commit is contained in:
parent
68a398f8d6
commit
098434ff38
@ -417,6 +417,8 @@ class Browser(QMainWindow):
|
|||||||
f.filter.clicked.connect(self.onFilterButton)
|
f.filter.clicked.connect(self.onFilterButton)
|
||||||
# edit
|
# edit
|
||||||
f.actionUndo.triggered.connect(self.mw.onUndo)
|
f.actionUndo.triggered.connect(self.mw.onUndo)
|
||||||
|
if qtminor < 11:
|
||||||
|
f.actionUndo.setShortcut(QKeySequence(_("Ctrl+Alt+Z")))
|
||||||
f.actionInvertSelection.triggered.connect(self.invertSelection)
|
f.actionInvertSelection.triggered.connect(self.invertSelection)
|
||||||
f.actionSelectNotes.triggered.connect(self.selectNotes)
|
f.actionSelectNotes.triggered.connect(self.selectNotes)
|
||||||
if not isMac:
|
if not isMac:
|
||||||
|
@ -890,6 +890,8 @@ title="%s" %s>%s</button>''' % (
|
|||||||
m.actionPreferences.triggered.connect(self.onPrefs)
|
m.actionPreferences.triggered.connect(self.onPrefs)
|
||||||
m.actionAbout.triggered.connect(self.onAbout)
|
m.actionAbout.triggered.connect(self.onAbout)
|
||||||
m.actionUndo.triggered.connect(self.onUndo)
|
m.actionUndo.triggered.connect(self.onUndo)
|
||||||
|
if qtminor < 11:
|
||||||
|
m.actionUndo.setShortcut(QKeySequence(_("Ctrl+Alt+Z")))
|
||||||
m.actionFullDatabaseCheck.triggered.connect(self.onCheckDB)
|
m.actionFullDatabaseCheck.triggered.connect(self.onCheckDB)
|
||||||
m.actionCheckMediaDatabase.triggered.connect(self.onCheckMediaDB)
|
m.actionCheckMediaDatabase.triggered.connect(self.onCheckMediaDB)
|
||||||
m.actionDocumentation.triggered.connect(self.onDocumentation)
|
m.actionDocumentation.triggered.connect(self.onDocumentation)
|
||||||
|
@ -341,7 +341,7 @@
|
|||||||
<string>&Undo</string>
|
<string>&Undo</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+Z</string>
|
<string>Ctrl+Z</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionInvertSelection">
|
<action name="actionInvertSelection">
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
<string>&Undo</string>
|
<string>&Undo</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Alt+Z</string>
|
<string>Ctrl+Z</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCheckMediaDatabase">
|
<action name="actionCheckMediaDatabase">
|
||||||
|
Loading…
Reference in New Issue
Block a user