diff -r 8072072038d2 -r bc51b5a2daa9 dialogs/UriEditor.py --- 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)