mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:04:08 +02:00
...
This commit is contained in:
parent
ab44bb5064
commit
c274ce5014
1 changed files with 1 additions and 2 deletions
|
|
@ -125,10 +125,9 @@ def check_iactions_for_drag(self, event, md, func):
|
|||
aa = iac.qaction
|
||||
w = self.widgetForAction(aa)
|
||||
m = aa.menu()
|
||||
cfunc = getattr(iac, func)
|
||||
if (( (w is not None and w.geometry().contains(pos)) or
|
||||
(m is not None and m.isVisible() and m.geometry().contains(pos)) ) and
|
||||
cfunc(event, md)):
|
||||
getattr(iac, func)(event, md)):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue