Author: demeler Date: 2019-08-03 19:48:41 +0000 (Sat, 03 Aug 2019) New Revision: 2800 Modified: trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp Log: Added a "No" button to allow user in us_xpn_viewer to skip chromatic aberration correction Modified: trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp =================================================================== --- trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp 2019-07-25 00:28:19 UTC (rev 2799) +++ trunk/programs/us_xpn_viewer/us_xpn_viewer_gui.cpp 2019-08-03 19:48:41 UTC (rev 2800) @@ -4159,14 +4159,15 @@ { if ( !auto_mode_bool ) { - QMessageBox::warning( this, + int response=QMessageBox::question( this, tr( "Chromatic Aberration Correction:" ), tr( "Wavelength correction data for currently used Optima machine\n" "are found in DB and will be used to correct your data for\n" "chromatic aberration between 190 nm and 800 nm.\n\n" "Exported data will be modified!\n") ); + if (response == QMessageBox::No) return; } - + DbgLv(1) << "go ahead and correct..."; // For each triple, get the wavelength; then compute and apply a correction for ( int jd = 0; jd < ntripl; jd++ ) {
participants (1)
-
svn@svn.aucsolutions.com