From e1273dd52a513b337ff415b4aa025a4c6d7c8cf7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 9 Jan 2022 16:04:54 +0530 Subject: [PATCH] ... --- src/calibre/gui2/comments_editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index 0f312f0c57..e375bb3cd3 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -1077,6 +1077,7 @@ def __init__(self, parent=None, one_line_toolbar=False, toolbar_prefs_name=None) self.tabs.setTabPosition(QTabWidget.TabPosition.South) self.wyswyg = QWidget(self.tabs) self.code_edit = QPlainTextEdit(self.tabs) + self.code_edit.setTabChangesFocus(True) self.source_dirty = False self.wyswyg_dirty = True