Skip to content

Commit

Permalink
Update display after controller change
Browse files Browse the repository at this point in the history
  • Loading branch information
M40V committed Feb 18, 2020
1 parent 89aff9a commit 55b5b09
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,19 +534,9 @@ def display_parameters(self, node_name, process, pipeline):
.get_current_editor().node_parameters:
self.main_window.pipeline_manager.run_pipeline_action \
.setDisabled(False)
# print("toto")
# print(self.main_window.pipeline_manager.pipelineEditorTabs \
# .get_current_editor().node_parameters_tmp)
# print(self.main_window.pipeline_manager.pipelineEditorTabs \
# .get_current_editor().node_parameters)
else:
self.main_window.pipeline_manager.run_pipeline_action\
.setDisabled(True)
# print('fail')
# print(self.main_window.pipeline_manager.pipelineEditorTabs\
# .get_current_editor().node_parameters_tmp)
# print(self.main_window.pipeline_manager.pipelineEditorTabs\
# .get_current_editor().node_parameters)

self.setLayout(self.v_box_final)
# print([x.text() for x in self.line_edit_output])
Expand Down Expand Up @@ -677,6 +667,9 @@ def update_parameters(self, process=None):
self.line_edit_output[idx].setText(str(value))
idx += 1

self.main_window.pipeline_manager.pipelineEditorTabs\
.update_current_node()

def update_plug_value(self, in_or_out, plug_name, pipeline, value_type,
new_value=None):
"""Update the value of a node plug.
Expand Down

0 comments on commit 55b5b09

Please sign in to comment.