--- a/E5Gui/E5ClickableLabel.py Sun Mar 30 22:00:14 2014 +0200 +++ b/E5Gui/E5ClickableLabel.py Thu Apr 03 23:05:31 2014 +0200 @@ -18,9 +18,9 @@ Class implementing a clickable label. @signal clicked(QPoint) emitted upon a click on the label - with the left buton + with the left button @signal middleClicked(QPoint) emitted upon a click on the label - with the middle buton or CTRL and left button + with the middle button or CTRL and left button """ clicked = pyqtSignal(QPoint) middleClicked = pyqtSignal(QPoint) @@ -44,7 +44,7 @@ self.middleClicked.emit(evt.globalPos()) else: self.clicked.emit(evt.globalPos()) - elif evt.button() == Qt.MiddleButton and \ + elif evt.button() == Qt.MidButton and \ self.rect().contains(evt.pos()): self.middleClicked.emit(evt.globalPos()) else: