dialogs setup default: use a better dialog to show errors.
This commit is contained in:
parent
0c1fba8686
commit
ccb935db4a
|
@ -473,7 +473,8 @@ bool PANEL_FP_EDITOR_DEFAULTS::TransferDataFromWindow()
|
||||||
if( errorsMsg.IsEmpty() )
|
if( errorsMsg.IsEmpty() )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
DisplayErrorMessage( this,errorsMsg, _( "Parameter error" ) );
|
KIDIALOG dlg( this, errorsMsg, KIDIALOG::KD_ERROR, _( "Parameter error" ) );
|
||||||
|
dlg.ShowModal();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -310,7 +310,8 @@ bool PANEL_SETUP_TEXT_AND_GRAPHICS::TransferDataFromWindow()
|
||||||
if( errorsMsg.IsEmpty() )
|
if( errorsMsg.IsEmpty() )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
DisplayErrorMessage( this,errorsMsg, _( "Parameter error" ) );
|
KIDIALOG dlg( this, errorsMsg, KIDIALOG::KD_ERROR, _( "Parameter error" ) );
|
||||||
|
dlg.ShowModal();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue