Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

workbench: allow CTRL+Q close for Windows and Linux

A small nod to the finger memory of hgtk users.

Changeset 781f3c0a5467

Parent 5c7261a76714

by Steve Borho

Changes to one file · Browse files at 781f3c0a5467 Showing diff from parent 5c7261a76714 Diff from another changeset...

 
9
10
11
 
12
13
14
 
63
64
65
 
 
 
66
67
68
 
9
10
11
12
13
14
15
 
64
65
66
67
68
69
70
71
72
@@ -9,6 +9,7 @@
 """    import os +import sys    from mercurial.error import RepoError   @@ -63,6 +64,9 @@
  self.repoTabChanged()   self.restoreSettings()   self.setAcceptDrops(True) + if sys.platform != 'darwin': + # Allow CTRL+Q to close Workbench on Windows and Linux + QShortcut(QKeySequence('CTRL+Q'), self, self.close)     def accept(self):   self.close()