From eadbacb7171bc561b14e61295501a53e5c2f463d 2010-07-30 20:43:59 From: epatters Date: 2010-07-30 20:43:59 Subject: [PATCH] Fixed typos in CallTipWidget due to copy-paste. --- diff --git a/IPython/frontend/qt/console/call_tip_widget.py b/IPython/frontend/qt/console/call_tip_widget.py index a999241..2417649 100644 --- a/IPython/frontend/qt/console/call_tip_widget.py +++ b/IPython/frontend/qt/console/call_tip_widget.py @@ -37,7 +37,7 @@ class CallTipWidget(QtGui.QLabel): def hideEvent(self, event): """ Reimplemented to disconnect the cursor movement handler. """ - QtGui.QListWidget.hideEvent(self, event) + QtGui.QLabel.hideEvent(self, event) self.parent().cursorPositionChanged.disconnect(self._update_tip) def paintEvent(self, event): @@ -54,7 +54,7 @@ class CallTipWidget(QtGui.QLabel): def showEvent(self, event): """ Reimplemented to connect the cursor movement handler. """ - QtGui.QListWidget.showEvent(self, event) + QtGui.QLabel.showEvent(self, event) self.parent().cursorPositionChanged.connect(self._update_tip) #--------------------------------------------------------------------------