Add shortcut for Settings (Ctrl+E) so as not to collide with Ctrl+S (Save)
This commit is contained in:
parent
3db384e7e4
commit
cc9453997e
3 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue