Skip to content

Commit 2eba151

Browse files
committed
Error message bug fix
1 parent 2df536c commit 2eba151

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

+preproc/cam_enable_cam_calib_Callback.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ function cam_enable_cam_calib_Callback(caller,~,~)
9090
gui.put('cam_use_calibration',0);
9191
handles.calib_usecalibration.Value = 0;
9292
gui.custom_msgbox('error',getappdata(0,'hgui'),'Error','Calibration images and PIV images must have identical size.','modal');
93-
return
93+
handles.calib_usecalibration.Value = 0;
94+
gui.toolsavailable(1)
95+
return
9496
end
9597
view_raw=handles.calib_viewtype.Value;
9698
if view_raw==1

0 commit comments

Comments
 (0)