1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 02058d0

qfold: accept command by Ctrl+Return like commit or email dialog (closes #3650)

  • Participants
  • Parent commits d49ff6b
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qfold.py

View file
         self.layout().addWidget(bbox)
         self.bbox = bbox
 
+        QShortcut('Ctrl+Return', self, self.accept)
+        QShortcut('Ctrl+Enter', self, self.accept)
+
         self._repoagent.configChanged.connect(self.configChanged)
 
         self._readsettings()