Mention Qt bug report about floating images without margins

This commit is contained in:
Kovid Goyal 2023-10-25 17:07:59 +05:30
parent fce4620ca7
commit 4978ad6076
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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]