Add shortcut for Settings (Ctrl+E) so as not to collide with Ctrl+S (Save)

This commit is contained in:
Miguel Jacq 2025-10-31 16:50:53 +11:00
parent 3db384e7e4
commit cc9453997e
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
3 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@
* Add ability to change the key * Add ability to change the key
* Add ability to jump to today's date * 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 # 0.1.0

View file

@ -72,7 +72,8 @@ class MainWindow(QMainWindow):
act_save.setShortcut("Ctrl+S") act_save.setShortcut("Ctrl+S")
act_save.triggered.connect(lambda: self._save_current(explicit=True)) act_save.triggered.connect(lambda: self._save_current(explicit=True))
file_menu.addAction(act_save) 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) act_settings.triggered.connect(self._open_settings)
file_menu.addAction(act_settings) file_menu.addAction(act_settings)
file_menu.addSeparator() file_menu.addSeparator()

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "bouquin" name = "bouquin"
version = "0.1.0" version = "0.1.1"
description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher." description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher."
authors = ["Miguel Jacq <mig@mig5.net>"] authors = ["Miguel Jacq <mig@mig5.net>"]
readme = "README.md" readme = "README.md"