From 4978ad6076bd391b194a767a4da45a026865137c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 25 Oct 2023 17:07:59 +0530 Subject: [PATCH] Mention Qt bug report about floating images without margins --- src/calibre/gui2/dialogs/edit_category_notes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/dialogs/edit_category_notes.py b/src/calibre/gui2/dialogs/edit_category_notes.py index 5ebacf5a23..f0f3bcd6aa 100644 --- a/src/calibre/gui2/dialogs/edit_category_notes.py +++ b/src/calibre/gui2/dialogs/edit_category_notes.py @@ -228,6 +228,8 @@ class NoteEditorWidget(EditorWidget): return '', '', False def do_insert_image(self): + # See https://bugreports.qt.io/browse/QTBUG-118537 + # for why we cant have a nice margin for floating images d = AskImage(self.images, self.db) if d.exec() == QDialog.DialogCode.Accepted and d.current_digest: ir = self.images[d.current_digest]