Commit a314b781 authored by Daniel Schramm's avatar Daniel Schramm
Browse files

More suitable method called to omit unused method parameters

parent a581e9fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ public class DistancePanel extends ControlPanel {
            });
            featurePointCheckBoxes.add(checkBox);

            final JTextField sliderInput = fpBuilder.addSliderButtonedOptionLine(null, null, 100, 1, null);
            final JTextField sliderInput = fpBuilder.addSliderButtonedWithVal(100, 1, null);
            sliderInput.setText(ControlPanelBuilder.doubleToStringLocale(DrawableFeaturePoints.DEFAULT_SIZE));
            sliderInput.postActionEvent(); // Set correct position of slider
            sliderInput.addActionListener((ActionEvent ae) -> {