From 5444432c0273c43d7d1a4cea922e0546d2385469 Mon Sep 17 00:00:00 2001 From: ehb54 Date: Wed, 28 Aug 2024 20:32:16 -0500 Subject: [PATCH] Update us_hydrodyn_saxs_hplc_gui.cpp --- us_somo/develop/src/us_hydrodyn_saxs_hplc_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/us_somo/develop/src/us_hydrodyn_saxs_hplc_gui.cpp b/us_somo/develop/src/us_hydrodyn_saxs_hplc_gui.cpp index 833eeede1..d7e04abba 100644 --- a/us_somo/develop/src/us_hydrodyn_saxs_hplc_gui.cpp +++ b/us_somo/develop/src/us_hydrodyn_saxs_hplc_gui.cpp @@ -4546,7 +4546,7 @@ void US_Hydrodyn_Saxs_Hplc::update_enables() baseline_integral = ( ( US_Hydrodyn * ) us_hydrodyn )->gparams[ "hplc_bl_integral" ] == "true"; // pb_timeshift ->setEnabled( files_selected_count > 0 && files_compatible && files_are_time ); - pb_timeshift ->setEnabled( files_selected_count - conc_selected_count > 0 && files_compatible && files_are_time && conc_files.size() ); + pb_timeshift ->setEnabled( (int64_t)files_selected_count - conc_selected_count > 0 && files_compatible && files_are_time && conc_files.size() ); pb_timescale ->setEnabled( files_selected_count && files_are_time && conc_selected_count == files_selected_count ); pb_gauss_mode ->setEnabled( files_selected_count == 1 && files_are_time ); pb_gauss_start ->setEnabled( files_selected_count == 1 && files_are_time );