diff --git a/src/hotkeys.py b/src/hotkeys.py index ed13ba2..746a07a 100644 --- a/src/hotkeys.py +++ b/src/hotkeys.py @@ -145,7 +145,7 @@ class KeyCaptureDialog(QDialog): return # Build the sequence - keys = int(mod_mask) | int(key) + keys = mod_mask.value | key.value self._captured_seq = QSeq(keys) self._label.setText(f"Captured: {self._captured_seq.toString()}\nPress Close to accept") self.accept()