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,8 +414,11 @@ class ProjectGui: ...@@ -414,8 +414,11 @@ class ProjectGui:
else: else:
self._treeview_set_active_index(table, new_index) self._treeview_set_active_index(table, new_index)
# update all controls related the (possibly changed) item # update all controls related the (possibly changed) item
if item_list is self.tool_list:
self.append_to_queue(self.switch_tool_table_selection) 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) 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) self.append_to_queue(self.switch_tasklist_table_selection)
# the boundary manager # the boundary manager
self.settings.add_item("current_bounds", self.settings.add_item("current_bounds",
......
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