diff -r 2747d6e72eb8 -r eb4a4cc41914 connectors/SchemeEditor.py --- a/connectors/SchemeEditor.py Wed Mar 13 10:19:30 2019 +0300 +++ b/connectors/SchemeEditor.py Wed Mar 13 11:47:03 2019 +0300 @@ -26,7 +26,7 @@ self.txtctrls[tag] = txtctrl for win, flag in [ (wx.StaticText(self, label=label), - wx.ALIGN_CENTER_VERTICAL), + wx.ALIGN_CENTER_VERTICAL), (txtctrl, wx.GROW)]: self.fieldsizer.AddWindow(win, flag=flag) @@ -39,7 +39,7 @@ self, parent.ctr, # use a callafter, as editor can be deleted by calling SetURI partial(wx.CallAfter, parent.SetURI), - self.txtctrls[tag].SetValue) + self.txtctrls["ID"].SetValue) self.mainsizer.AddWindow(self.idselector) self.SetSizer(self.mainsizer) else: