diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/PushPullSelectionCellEditor.java b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/PushPullSelectionCellEditor.java index 7d6d99b..8ca07ef 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/stages/PushPullSelectionCellEditor.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/stages/PushPullSelectionCellEditor.java @@ -82,8 +82,7 @@ } } if (selected != null) { - options.remove(selected); - options.add(0, selected); + attr.selectOption(selected); } graphComponent.labelChanged(cell, attr, trig); }