From b33231c2681a67e4694b05866034c7125f60d4a7 Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Thu, 9 May 2024 22:29:06 -0400 Subject: [PATCH] fix default value --- .../global/GlobalOptimizationParameters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/preibisch/mvrecon/fiji/plugin/interestpointregistration/global/GlobalOptimizationParameters.java b/src/main/java/net/preibisch/mvrecon/fiji/plugin/interestpointregistration/global/GlobalOptimizationParameters.java index 582368a1f..0540e40cb 100644 --- a/src/main/java/net/preibisch/mvrecon/fiji/plugin/interestpointregistration/global/GlobalOptimizationParameters.java +++ b/src/main/java/net/preibisch/mvrecon/fiji/plugin/interestpointregistration/global/GlobalOptimizationParameters.java @@ -87,7 +87,7 @@ public static void addSimpleParametersToDialog( final GenericDialog gd ) public static GlobalOptimizationParameters parseSimpleParametersFromDialog( final GenericDialog gd ) { - return getGlobalOptimizationParametersForSelection( gd.getNextChoiceIndex() ); + return getGlobalOptimizationParametersForSelection( defaultSimple = gd.getNextChoiceIndex() ); } public static GlobalOptimizationParameters getGlobalOptimizationParametersForSelection( final int selected )