Changeset a037d4fc820c…
Parent 8888c9c356a9…
by
Changes to one file · Browse files at a037d4fc820c Showing diff from parent 8888c9c356a9 Diff from another changeset...
@@ -70,13 +70,6 @@ self.disab_shortcuts = []
def load_ui(self):
- # we explicitely create a QShortcut so we can disable it
- # when a "helper context toolbar" is activated (which can be
- # closed hitting the Esc shortcut)
- self.esc_shortcut = QtGui.QShortcut(self)
- self.esc_shortcut.setKey(Qt.Key_Escape)
- connect(self.esc_shortcut, SIGNAL('activated()'),
- self.maybeClose)
self._quickbars = []
def attachQuickBar(self, qbar):
@@ -97,14 +90,6 @@ for w in self._quickbars:
if w is not tb:
w.hide()
-
- def maybeClose(self):
- for w in self._quickbars:
- if w.isVisible():
- w.cancel()
- break
- else:
- self.close()
def load_config(self, ui):
cfg = HgConfig(ui)
|
Loading...