Remove O keybind for Open in Default App
Pax requested the keyboard shortcut be removed — too easy to fat-finger when navigating with the keyboard, and "Open in Default App" still ships an external process that may steal focus from the app. The right-click menu's Open in Default App action stays, both on browse thumbnails and in the preview pane right-click — only the bare-key shortcut goes away. The deleted block was the only Key_O handler in BooruApp.keyPressEvent, so no other behavior changes. Verified manually: - press O on a selected thumbnail → nothing happens - right-click thumbnail → "Open in Default App" still present and opens - right-click preview pane → same
This commit is contained in:
parent
b571c9a486
commit
92c1824720
@ -2986,11 +2986,6 @@ class BooruApp(QMainWindow):
|
||||
elif key == Qt.Key.Key_I:
|
||||
self._toggle_info()
|
||||
return
|
||||
elif key == Qt.Key.Key_O and self._posts:
|
||||
idx = self._grid.selected_index
|
||||
if 0 <= idx < len(self._posts):
|
||||
self._open_in_default(self._posts[idx])
|
||||
return
|
||||
elif key == Qt.Key.Key_Space:
|
||||
if self._preview._stack.currentIndex() == 1 and self._preview.underMouse():
|
||||
self._preview._video_player._toggle_play()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user