More fixes for shortcuts, move Rekey button to bottom of settings

This commit is contained in:
Miguel Jacq 2025-11-02 19:29:13 +11:00
parent b71e7ea1e3
commit 329e016f8d
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
4 changed files with 16 additions and 10 deletions

View file

@ -210,14 +210,14 @@ class MainWindow(QMainWindow):
# Navigate menu with next/previous/today
nav_menu = mb.addMenu("&Navigate")
act_prev = QAction("Previous Day", self)
act_prev.setShortcut("Ctrl+<")
act_prev.setShortcut("Ctrl+P")
act_prev.setShortcutContext(Qt.ApplicationShortcut)
act_prev.triggered.connect(lambda: self._adjust_day(-1))
nav_menu.addAction(act_prev)
self.addAction(act_prev)
act_next = QAction("Next Day", self)
act_next.setShortcut("Ctrl+>")
act_next.setShortcut("Ctrl+N")
act_next.setShortcutContext(Qt.ApplicationShortcut)
act_next.triggered.connect(lambda: self._adjust_day(1))
nav_menu.addAction(act_next)