if ( !store( anErrorMsg ) ) {
aPanel->setMode( theActualMode == HYDROGUI_GeoreferencementDlg::AllProfiles ?
HYDROGUI_GeoreferencementDlg::SelectedProfiles :
- HYDROGUI_GeoreferencementDlg::AllProfiles );
+ HYDROGUI_GeoreferencementDlg::AllProfiles);
- if ( anErrorMsg.isEmpty() ) {
- anErrorMsg = tr( "INSUFFICIENT_INPUT_DATA" );
- }
+ anErrorMsg.append( "\n" + tr( "INPUT_VALID_DATA" ) );
SUIT_MessageBox::critical( module()->getApp()->desktop(),
- tr( "ERROR" ),
+ tr( "INSUFFICIENT_INPUT_DATA" ),
anErrorMsg );
return;
}