Commit 709e5275 authored by eric pellegrini's avatar eric pellegrini
Browse files

The DataTreePanel account now for the change in API for IInputData

parent 7cc51b1b
......@@ -106,7 +106,7 @@ class DataTreePanel(wx.Panel):
def add_data(self, data):
dataItem = wx.TreeItemData(data.filename)
dataItem = wx.TreeItemData(
item = None
for cItem in self.get_children(self._root):
......@@ -116,7 +116,7 @@ class DataTreePanel(wx.Panel):
if item is None:
item = self._tree.AppendItem(self._root, data.type, data=None)
self._tree.AppendItem(item, data.basename, data=dataItem)
self._tree.AppendItem(item, data.shortname, data=dataItem)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment