ProjectController.py
changeset 2334 d1470c052662
parent 2332 03a94f862465
child 2337 8689ce77076f
equal deleted inserted replaced
2333:81abf93b4684 2334:d1470c052662
  1766 
  1766 
  1767         # if uri is empty launch discovery dialog
  1767         # if uri is empty launch discovery dialog
  1768         if uri == "":
  1768         if uri == "":
  1769             try:
  1769             try:
  1770                 # Launch Service Discovery dialog
  1770                 # Launch Service Discovery dialog
  1771                 dialog = UriEditor(self.AppFrame)
  1771                 dialog = UriEditor(self.AppFrame, self)
  1772                 answer = dialog.ShowModal()
  1772                 answer = dialog.ShowModal()
  1773                 uri = dialog.GetURI()
  1773                 uri = dialog.GetURI()
  1774                 dialog.Destroy()
  1774                 dialog.Destroy()
  1775             except Exception:
  1775             except Exception:
  1776                 self.logger.write_error(_("Local service discovery failed!\n"))
  1776                 self.logger.write_error(_("Local service discovery failed!\n"))