diff --git a/soitool/help_actions.py b/soitool/help_actions.py index 5c822603179f67b4ef443cd6ebf391be5792f0d2..0d99369a6082c279ce8a5f4caa29ecef07c48739 100644 --- a/soitool/help_actions.py +++ b/soitool/help_actions.py @@ -41,9 +41,7 @@ class ShortcutsHelpDialog(QDialog): self.layout_label.addRow( QLabel("Åpne SOI fra database: "), QLabel("Ctrl + D") ) - self.layout_label.addRow( - QLabel("Forhåndsvis SOI: "), QLabel("Ctrl + P") - ) + self.layout_label.addRow(QLabel("Eksporter PDF: "), QLabel("Ctrl + P")) self.layout_label.addRow( QLabel("Lagre i database: "), QLabel("Ctrl + S") ) diff --git a/soitool/main_window.py b/soitool/main_window.py index 40d9d729bc57f9269cf5519dae3d6b978605cb3f..08190ec2bbbccbe577f84c048ee55469dda404d1 100644 --- a/soitool/main_window.py +++ b/soitool/main_window.py @@ -154,6 +154,7 @@ class MainWindow(QMainWindow): # SOI PDF export_pdf = QAction("PDF", self) export_pdf.setStatusTip("Eksporter til PDF klar for utskrift") + export_pdf.setShortcut("Ctrl+p") export_pdf.triggered.connect( lambda: self.try_export_soi(medium=ExportMedium.PDF) )