Fix exception dialog with non recognized URI schemes
authorEdouard Tisserant
Fri, 21 Dec 2018 13:39:41 +0100
changeset 2475 39ba6a125a97
parent 2474 347b03f7e0e8
child 2476 1881d0ff5ae2
Fix exception dialog with non recognized URI schemes
dialogs/UriEditor.py
--- a/dialogs/UriEditor.py	Wed Dec 19 10:53:19 2018 +0100
+++ b/dialogs/UriEditor.py	Fri Dec 21 13:39:41 2018 +0100
@@ -55,6 +55,7 @@
             self.UriTypeChoice.SetStringSelection(scheme)
         else:
             self.UriTypeChoice.SetSelection(0)
+            scheme = None
 
         self._replaceSchemeEditor(scheme)