main_window: remove Ctrl+S and Ctrl+D menu shortcuts
Ctrl+S (Manage Sites) and Ctrl+D (Batch Download) violate platform conventions where these keys mean Save and Bookmark respectively. Menu items remain accessible via File menu. behavior change: Ctrl+S and Ctrl+D no longer trigger actions.
This commit is contained in:
parent
0c0dd55907
commit
0a046bf936
@ -488,7 +488,6 @@ class BooruApp(QMainWindow):
|
|||||||
file_menu = menu.addMenu("&File")
|
file_menu = menu.addMenu("&File")
|
||||||
|
|
||||||
sites_action = QAction("&Manage Sites...", self)
|
sites_action = QAction("&Manage Sites...", self)
|
||||||
sites_action.setShortcut(QKeySequence("Ctrl+S"))
|
|
||||||
sites_action.triggered.connect(self._open_site_manager)
|
sites_action.triggered.connect(self._open_site_manager)
|
||||||
file_menu.addAction(sites_action)
|
file_menu.addAction(sites_action)
|
||||||
|
|
||||||
@ -500,7 +499,6 @@ class BooruApp(QMainWindow):
|
|||||||
file_menu.addSeparator()
|
file_menu.addSeparator()
|
||||||
|
|
||||||
self._batch_action = QAction("Batch &Download Page...", self)
|
self._batch_action = QAction("Batch &Download Page...", self)
|
||||||
self._batch_action.setShortcut(QKeySequence("Ctrl+D"))
|
|
||||||
self._batch_action.triggered.connect(self._post_actions.batch_download)
|
self._batch_action.triggered.connect(self._post_actions.batch_download)
|
||||||
file_menu.addAction(self._batch_action)
|
file_menu.addAction(self._batch_action)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user