summaryrefslogtreecommitdiff
path: root/qt-recordmydesktop/src/rmdSimple.py
diff options
context:
space:
mode:
Diffstat (limited to 'qt-recordmydesktop/src/rmdSimple.py')
-rw-r--r--qt-recordmydesktop/src/rmdSimple.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-recordmydesktop/src/rmdSimple.py b/qt-recordmydesktop/src/rmdSimple.py
index 809c609..e86246e 100644
--- a/qt-recordmydesktop/src/rmdSimple.py
+++ b/qt-recordmydesktop/src/rmdSimple.py
@@ -260,7 +260,10 @@ class simpleWidget(object):
self.window.connect(hide_sh,
QtCore.SIGNAL("activated()"),
self.trayIcon.tray_popup._prefs_widget)
-
+ esc_sh=QtGui.QShortcut(QtGui.QKeySequence("Esc"),self.window)
+ self.window.connect(esc_sh,
+ QtCore.SIGNAL("activated()"),
+ self.trayIcon.tray_popup._prefs_widget)
def __sound_check__(self,widget=None):
© All Rights Reserved