diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 618140a42..56416e279 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -522,7 +522,7 @@ class Editor: self.saveNow(lambda: self._onHtmlEdit(field)) def _onHtmlEdit(self, field): - d = QDialog(self.widget) + d = QDialog(self.widget, Qt.Window) form = aqt.forms.edithtml.Ui_Dialog() form.setupUi(d) restoreGeom(d, "htmlEditor")