mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-26 15:46:06 +01:00
...
This commit is contained in:
parent
01362f0200
commit
e43616c654
1 changed files with 2 additions and 2 deletions
|
|
@ -125,10 +125,10 @@ def check_iactions_for_drag(self, event, md, func):
|
|||
aa = iac.qaction
|
||||
w = self.widgetForAction(aa)
|
||||
m = aa.menu()
|
||||
func = getattr(iac, func)
|
||||
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
|
||||
func(event, md)):
|
||||
cfunc(event, md)):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue