Commit bc01a073 authored by sumpfralle's avatar sumpfralle

prevent infinite update loop


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@511 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 847b9ce4
......@@ -414,9 +414,12 @@ class ProjectGui:
else:
self._treeview_set_active_index(table, new_index)
# update all controls related the (possibly changed) item
self.append_to_queue(self.switch_tool_table_selection)
self.append_to_queue(self.switch_process_table_selection)
self.append_to_queue(self.switch_tasklist_table_selection)
if item_list is self.tool_list:
self.append_to_queue(self.switch_tool_table_selection)
elif item_list is self.process_list:
self.append_to_queue(self.switch_process_table_selection)
elif item_list is self.task_list:
self.append_to_queue(self.switch_tasklist_table_selection)
# the boundary manager
self.settings.add_item("current_bounds",
lambda: get_current_item(self.bounds_editor_table, self.bounds_list),
......
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