Add docstring to MessageView.mousePressEvent
This commit is contained in:
parent
bf2493c1c4
commit
5e1c530d71
@ -132,6 +132,7 @@ class MessageView(QWidget):
|
||||
self.update_geometry.emit()
|
||||
|
||||
def mousePressEvent(self, e):
|
||||
"""Clear messages when they are clicked on."""
|
||||
criteria = [Qt.LeftButton, Qt.MiddleButton, Qt.RightButton]
|
||||
|
||||
if e.button() in criteria:
|
||||
|
Loading…
Reference in New Issue
Block a user