From 47c34dd8ad7df23cec77abc4a56522b77e4e0da8 Mon Sep 17 00:00:00 2001 From: x03daop Date: Tue, 20 Sep 2016 11:05:41 +0200 Subject: [PATCH] Closedown --- plugins/HoloScan.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/HoloScan.java b/plugins/HoloScan.java index 7527a59a..417f29f9 100644 --- a/plugins/HoloScan.java +++ b/plugins/HoloScan.java @@ -53,7 +53,7 @@ public class HoloScan extends Panel { } try{ spinnerFromTheta.setModel(new SpinnerNumberModel(Math.max(theta.getMinValue(),(Double)spinnerFromTheta.getValue()), theta.getMinValue(), theta.getMaxValue(), 1.0)); - spinnerToTheta.setModel(new SpinnerNumberModel(Math.min(theta.getMaxValue(),(Double)spinnerFromTheta.getValue()), theta.getMinValue(), theta.getMaxValue(), 1.0)); + spinnerToTheta.setModel(new SpinnerNumberModel(Math.min(theta.getMaxValue(),(Double)spinnerToTheta.getValue()), theta.getMinValue(), theta.getMaxValue(), 1.0)); } catch (Exception ex){ spinnerFromTheta.setModel(new SpinnerNumberModel(theta.getMinValue(), theta.getMinValue(), theta.getMaxValue(), 1.0)); spinnerToTheta.setModel(new SpinnerNumberModel(theta.getMaxValue(), theta.getMinValue(), theta.getMaxValue(), 1.0));