--- a/editors/ConfTreeNodeEditor.py Mon Oct 01 19:09:40 2012 +0200
+++ b/editors/ConfTreeNodeEditor.py Mon Oct 01 19:10:51 2012 +0200
@@ -530,7 +530,10 @@
def OnTextCtrlChanged(event):
res = self.SetConfNodeParamsAttribute(path, textctrl.GetValue())
if res != textctrl.GetValue():
- textctrl.ChangeValue(res)
+ if isinstance(textctrl, wx.SpinCtrl): + textctrl.ChangeValue(res) wx.CallAfter(self.ParentWindow._Refresh, TITLE, FILEMENU, PROJECTTREE, PAGETITLES)
wx.CallAfter(self.ParentWindow.SelectProjectTreeItem, self.GetTagName())