Changeset 1384c027496c…
Parent 26c469dbb148…
by
Changes to one file · Browse files at 1384c027496c Showing diff from parent 26c469dbb148 Diff from another changeset...
@@ -24,7 +24,6 @@ # We need a real icon set for file status types
# Thread rowSelected, connect to an external progress bar
# Chunk selection, tri-state checkboxes for commit
-# TreeView steals CTRL-ENTER from parent widgets
# Maybe, Maybe Not
# Investigate folding/nesting of files
# Toolbar
@@ -651,6 +650,10 @@
def toggleRow(self, index):
'Connected to "activated" signal, emitted by dbl-click or enter'
+ if QApplication.keyboardModifiers() & Qt.ControlModifier:
+ # ignore Ctrl-Enter events, the user does not want a row
+ # toggled just as they are committing.
+ return
assert index.isValid()
fname = self.rows[index.row()][COL_PATH]
self.emit(SIGNAL("layoutAboutToBeChanged()"))
|
Loading...