Skip to content

Commit

Permalink
wx.metadata/g.gui.metadata: fix Spatial/Temporal maps wx.TreeCtrl wid…
Browse files Browse the repository at this point in the history
…get selections (#242)
  • Loading branch information
tmszi committed Jul 10, 2020
1 parent 4f8f56a commit f94da05
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,8 @@ def onChanged(self, evt=None):
if evt is not None:
item = evt.Item
else:
item = self.GetSelection()
name=self.GetItemText(item)
item = self.GetSelections()[0]
name = self.GetItemText(item)
parentItem = self.GetItemParent(item)
mapType = self.GetItemText(parentItem)
if self.GetChildrenCount(item) == 0 and self.isMapExist(name,mapType): # is selected map
Expand Down

0 comments on commit f94da05

Please sign in to comment.