src/eric7/QScintilla/MarkupProviders/HtmlProvider.py

branch
eric7
changeset 11006
a671918232f3
parent 10692
9becf9ca115c
child 11090
f5f5f5803935
--- a/src/eric7/QScintilla/MarkupProviders/HtmlProvider.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/QScintilla/MarkupProviders/HtmlProvider.py	Fri Oct 25 17:58:59 2024 +0200
@@ -231,7 +231,7 @@
         if editor is None:
             return
 
-        dlg = HyperlinkMarkupDialog(True, False)
+        dlg = HyperlinkMarkupDialog(True, False, parent=editor)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             text, target, title = dlg.getData()
             if not text:
@@ -313,7 +313,7 @@
         if editor is None:
             return
 
-        dlg = ImageMarkupDialog(ImageMarkupMode.Html)
+        dlg = ImageMarkupDialog(ImageMarkupMode.Html, parent=editor)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             address, altText, title, originalSize, width, height = dlg.getData()
 

eric ide

mercurial