Changes between Initial Version and Version 1 of Ticket #2481, comment 2
- Timestamp:
- Oct 7, 2019, 11:40:14 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2481, comment 2
initial v1 5 5 The 'no "button" attribute' error occurs in this code: 6 6 7 elif etype == QtCore.QEvent.MouseButtonRelease and event.button() QtCore.Qt.MidButton and ...7 elif etype == QtCore.QEvent.MouseButtonRelease and event.button() == QtCore.Qt.MidButton and ... 8 8 9 9 So, an event of type MouseButtonRelease doesn't have a .button() attribute?