E5Gui/E5ClickableLabel.py

changeset 2990
583beaf0b4b8
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
--- a/E5Gui/E5ClickableLabel.py	Sun Oct 06 19:14:26 2013 +0200
+++ b/E5Gui/E5ClickableLabel.py	Sun Oct 06 19:45:29 2013 +0200
@@ -42,7 +42,8 @@
                 self.middleClicked.emit(evt.globalPos())
             else:
                 self.clicked.emit(evt.globalPos())
-        elif evt.button() == Qt.MiddleButton and self.rect().contains(evt.pos()):
+        elif evt.button() == Qt.MiddleButton and \
+                self.rect().contains(evt.pos()):
             self.middleClicked.emit(evt.globalPos())
         else:
             super().mouseReleaseEvent(evt)

eric ide

mercurial