Show More
@@ -32,7 +32,10 b' class CompletionWidget(QtGui.QListWidget):' | |||
|
32 | 32 | """ Reimplemented to disconnect the cursor movement handler. |
|
33 | 33 | """ |
|
34 | 34 | QtGui.QListWidget.hideEvent(self, event) |
|
35 | self.parent().cursorPositionChanged.disconnect(self._update_current) | |
|
35 | try: | |
|
36 | self.parent().cursorPositionChanged.disconnect(self._update_current) | |
|
37 | except TypeError: | |
|
38 | pass | |
|
36 | 39 | |
|
37 | 40 | def keyPressEvent(self, event): |
|
38 | 41 | """ Reimplemented to update the list. |
General Comments 0
You need to be logged in to leave comments.
Login now