dialogs/UriEditor.py
changeset 3935 bc51b5a2daa9
parent 3750 f62625418bff
--- a/dialogs/UriEditor.py	Thu Apr 25 09:37:09 2024 +0200
+++ b/dialogs/UriEditor.py	Thu Apr 25 16:59:05 2024 +0200
@@ -41,6 +41,10 @@
         self.SetURI(uri)
         self.CenterOnParent()
 
+    def Destroy(self):
+        self.scheme_editor.Destroy()
+        wx.Dialog.Destroy(self)
+
     def OnTypeChoice(self, event):
         index = event.GetSelection()
         self._replaceSchemeEditor(event.GetString() if index > 0 else None)