##// END OF EJS Templates
Fixed typos in CallTipWidget due to copy-paste.
epatters -
Show More
@@ -37,7 +37,7 b' class CallTipWidget(QtGui.QLabel):'
37 def hideEvent(self, event):
37 def hideEvent(self, event):
38 """ Reimplemented to disconnect the cursor movement handler.
38 """ Reimplemented to disconnect the cursor movement handler.
39 """
39 """
40 QtGui.QListWidget.hideEvent(self, event)
40 QtGui.QLabel.hideEvent(self, event)
41 self.parent().cursorPositionChanged.disconnect(self._update_tip)
41 self.parent().cursorPositionChanged.disconnect(self._update_tip)
42
42
43 def paintEvent(self, event):
43 def paintEvent(self, event):
@@ -54,7 +54,7 b' class CallTipWidget(QtGui.QLabel):'
54 def showEvent(self, event):
54 def showEvent(self, event):
55 """ Reimplemented to connect the cursor movement handler.
55 """ Reimplemented to connect the cursor movement handler.
56 """
56 """
57 QtGui.QListWidget.showEvent(self, event)
57 QtGui.QLabel.showEvent(self, event)
58 self.parent().cursorPositionChanged.connect(self._update_tip)
58 self.parent().cursorPositionChanged.connect(self._update_tip)
59
59
60 #--------------------------------------------------------------------------
60 #--------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now