##// END OF EJS Templates
fix gui=droplist
Matthias BUSSONNIER -
Show More
@@ -14,7 +14,7 b' class CompletionWidget(QtGui.QListWidget):'
14 """ Create a completion widget that is attached to the specified Qt
14 """ Create a completion widget that is attached to the specified Qt
15 text edit widget.
15 text edit widget.
16 """
16 """
17 text_edit = console_widget._text_edit
17 text_edit = console_widget._control
18 assert isinstance(text_edit, (QtGui.QTextEdit, QtGui.QPlainTextEdit))
18 assert isinstance(text_edit, (QtGui.QTextEdit, QtGui.QPlainTextEdit))
19 super(CompletionWidget, self).__init__()
19 super(CompletionWidget, self).__init__()
20
20
@@ -133,3 +133,6 b' class CompletionWidget(QtGui.QListWidget):'
133 self.hide()
133 self.hide()
134 else:
134 else:
135 self.hide()
135 self.hide()
136
137 def _cancel_completion(self):
138 self.hide()
General Comments 0
You need to be logged in to leave comments. Login now