We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbb25c commit 74444cdCopy full SHA for 74444cd
1 file changed
scripts/gdrive_app.py
@@ -408,6 +408,12 @@ def init_ui(self):
408
# Shortcut for renaming
409
self.rename_shortcut = QShortcut(QKeySequence("F2"), self)
410
self.rename_shortcut.activated.connect(self.trigger_rename)
411
+
412
+ # Shortcuts for exiting
413
+ self.quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self)
414
+ self.quit_shortcut.activated.connect(self.close)
415
+ self.close_shortcut = QShortcut(QKeySequence("Ctrl+W"), self)
416
+ self.close_shortcut.activated.connect(self.close)
417
418
self.file_view.setFocus()
419
0 commit comments