From cc9453997eb0bf13793efcd475108579758f1b57 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Fri, 31 Oct 2025 16:50:53 +1100 Subject: [PATCH] Add shortcut for Settings (Ctrl+E) so as not to collide with Ctrl+S (Save) --- CHANGELOG.md | 1 + bouquin/main_window.py | 3 ++- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40a4f3b..07944f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * Add ability to change the key * Add ability to jump to today's date + * Add shortcut for Settings (Ctrl+E) so as not to collide with Ctrl+S (Save) # 0.1.0 diff --git a/bouquin/main_window.py b/bouquin/main_window.py index 309ef28..6b0451c 100644 --- a/bouquin/main_window.py +++ b/bouquin/main_window.py @@ -72,7 +72,8 @@ class MainWindow(QMainWindow): act_save.setShortcut("Ctrl+S") act_save.triggered.connect(lambda: self._save_current(explicit=True)) file_menu.addAction(act_save) - act_settings = QAction("&Settings", self) + act_settings = QAction("S&ettings", self) + act_save.setShortcut("Ctrl+E") act_settings.triggered.connect(self._open_settings) file_menu.addAction(act_settings) file_menu.addSeparator() diff --git a/pyproject.toml b/pyproject.toml index 1be51b7..2be1386 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bouquin" -version = "0.1.0" +version = "0.1.1" description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher." authors = ["Miguel Jacq "] readme = "README.md"