From c9333760627fd297e1041893b78ef39dfab79552 Mon Sep 17 00:00:00 2001 From: jziolkowski Date: Mon, 16 Sep 2024 14:47:26 +0200 Subject: [PATCH] add Shift-F shortcuts for relays >8 --- tdmgr/GUI/devices.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tdmgr/GUI/devices.py b/tdmgr/GUI/devices.py index 676d5b0..d1c1905 100644 --- a/tdmgr/GUI/devices.py +++ b/tdmgr/GUI/devices.py @@ -192,6 +192,8 @@ def create_actions(self): act = QAction(QIcon(px), f'Relay {a} TOGGLE') if a <= 8: act.setShortcut(f"F{a}") + else: + act.setShortcut(f"Shift+F{a}") self.agRelays.addAction(act) self.agRelays.triggered.connect(self.toggle_power)