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

workbench: fix 781f3c0a5467

The standard shortcut for QKeySequence.Quit is Ctrl+Q except on Windows.
See http://doc.qt.nokia.com/latest/qkeysequence.html#standard-shortcuts

Changeset b33c3ccf837b

Parent 9152f172c504

by André Sintzoff

Changes to one file · Browse files at b33c3ccf837b Showing diff from parent 9152f172c504 Diff from another changeset...

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