editors/ConfTreeNodeEditor.py
changeset 2334 d1470c052662
parent 2330 8c18b1a3e2bf
child 2459 21164625b393
equal deleted inserted replaced
2333:81abf93b4684 2334:d1470c052662
   343         CTR_BeremizRoot = CTR.BeremizRoot
   343         CTR_BeremizRoot = CTR.BeremizRoot
   344         CTR_AppFrame = CTR.AppFrame
   344         CTR_AppFrame = CTR.AppFrame
   345 
   345 
   346         # Get connector uri
   346         # Get connector uri
   347         uri = CTR_BeremizRoot.getURI_location().strip()
   347         uri = CTR_BeremizRoot.getURI_location().strip()
   348         dialog = UriEditor(CTR_AppFrame, uri)
   348         dialog = UriEditor(CTR_AppFrame, CTR, uri)
   349 
   349 
   350         if dialog.ShowModal() == wx.ID_OK:
   350         if dialog.ShowModal() == wx.ID_OK:
   351             CTR_BeremizRoot.setURI_location(dialog.GetURI())
   351             CTR_BeremizRoot.setURI_location(dialog.GetURI())
   352             if CTR._View is not None:
   352             if CTR._View is not None:
   353                 CTR._View.RefreshView()
   353                 CTR._View.RefreshView()