diff --git a/src/gui/org/deidentifier/arx/gui/view/impl/define/ViewAttributeWeights.java b/src/gui/org/deidentifier/arx/gui/view/impl/define/ViewAttributeWeights.java index 6707662fb2..bb22316db9 100644 --- a/src/gui/org/deidentifier/arx/gui/view/impl/define/ViewAttributeWeights.java +++ b/src/gui/org/deidentifier/arx/gui/view/impl/define/ViewAttributeWeights.java @@ -35,6 +35,8 @@ import org.eclipse.jface.layout.GridLayoutFactory; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.ScrolledComposite; +import org.eclipse.swt.events.ControlAdapter; +import org.eclipse.swt.events.ControlEvent; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.events.DisposeListener; import org.eclipse.swt.events.SelectionAdapter; @@ -114,6 +116,12 @@ public void widgetDisposed(DisposeEvent arg0) { } } }); + this.root.getHorizontalBar().addSelectionListener(new SelectionAdapter() { + @Override + public void widgetSelected(SelectionEvent arg0) { + root.redraw(); + } + }); root.pack(); }