Beremiz.py
changeset 747 e7fca1f93de1
parent 743 4645a3a398ad
child 749 050f5a001826
equal deleted inserted replaced
746:2e09777a40d3 747:e7fca1f93de1
  1859         wx.CallAfter(self.RefreshConfNodeMenu)
  1859         wx.CallAfter(self.RefreshConfNodeMenu)
  1860         IDEFrame.OnPageClose(self, event)
  1860         IDEFrame.OnPageClose(self, event)
  1861     
  1861     
  1862     def OnProjectTreeItemBeginEdit(self, event):
  1862     def OnProjectTreeItemBeginEdit(self, event):
  1863         selected = event.GetItem()
  1863         selected = event.GetItem()
  1864         if self.ProjectTree.GetPyData(selected)["type"] in ITEM_CONFNODE:
  1864         if self.ProjectTree.GetPyData(selected)["type"] == ITEM_CONFNODE:
  1865             event.Veto()
  1865             event.Veto()
  1866         else:
  1866         else:
  1867             IDEFrame.OnProjectTreeItemBeginEdit(self, event)
  1867             IDEFrame.OnProjectTreeItemBeginEdit(self, event)
  1868     
  1868     
  1869     def OnProjectTreeRightUp(self, event):
  1869     def OnProjectTreeRightUp(self, event):