From e43616c654562c73e85cf81241878eba95aa70e4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Mar 2013 11:30:45 +0530 Subject: [PATCH] ... --- src/calibre/gui2/bars.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/bars.py b/src/calibre/gui2/bars.py index d650e367b5..74ffafcb2f 100644 --- a/src/calibre/gui2/bars.py +++ b/src/calibre/gui2/bars.py @@ -125,10 +125,10 @@ class ToolBar(QToolBar): # {{{ 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