fixed exception happening when connecting to empty URI, and set URI through URI Editor Dialog popping up becaue empty.
authorEdouard Tisserant
Wed, 09 Jan 2019 14:09:02 +0100
changeset 2481 6cd7dae360d4
parent 2480 8efa26af791d
child 2482 cb53d3bf3380
fixed exception happening when connecting to empty URI, and set URI through URI Editor Dialog popping up becaue empty.
ProjectController.py
--- a/ProjectController.py	Mon Jan 07 13:50:39 2019 +0100
+++ b/ProjectController.py	Wed Jan 09 14:09:02 2019 +0100
@@ -1752,7 +1752,7 @@
                 # Launch Service Discovery dialog
                 dialog = UriEditor(self.AppFrame, self)
                 answer = dialog.ShowModal()
-                uri = dialog.GetURI()
+                uri = str(dialog.GetURI())
                 dialog.Destroy()
             except Exception:
                 self.logger.write_error(_("Local service discovery failed!\n"))