]> git.saurik.com Git - wxWidgets.git/commitdiff
test prevented to update encoding
authorRoman Rolinsky <rolinsky@femagsoft.com>
Thu, 26 Apr 2007 20:32:14 +0000 (20:32 +0000)
committerRoman Rolinsky <rolinsky@femagsoft.com>
Thu, 26 Apr 2007 20:32:14 +0000 (20:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/tools/XRCed/tree.py

index 09522e30dc9d460b7daa72093de78820825af9e8..d287a1d33adf245ec2b2064a39f01adca4015428 100644 (file)
@@ -779,8 +779,7 @@ class XML_Tree(wx.TreeCtrl):
         #oldItem = evt.GetOldItem()
         status = ''
         oldItem = self.selection
-        # use GetItemParent as a way to determine if the itemId is still valid
-        if oldItem and self.GetItemParent(oldItem):
+        if oldItem:
             xxx = self.GetPyData(oldItem)
             # If some data was modified, apply changes
             if g.panel.IsModified():