Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Fix middle click paste #1034

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
5 changes: 5 additions & 0 deletions pydm/widgets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ def eventFilter(self, obj, event):
if event.button() == Qt.MiddleButton:
self.show_address_tooltip(event)
return True
if event.type() == QEvent.MouseButtonRelease:
if event.button() == Qt.MiddleButton:
event.ignore()
return True

return False

def show_address_tooltip(self, event):
Expand Down
Loading