From a04c363b7072b6ec62d9c4e9c3601020fb2cdf01 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 26 Jul 2014 15:23:26 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 7c61e9d146..a2b145944b 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -134,7 +134,7 @@ class Boss(QObject): @property def currently_editing(self): ' Return the name of the file being edited currently or None if no file is being edited ' - return editor_name(self.gui.current_editor) + return editor_name(self.gui.central.current_editor) def preferences(self): orig_spell = tprefs['inline_spell_check']