--- s10k/Vago/windowMessagesWizard/wmsetuppage.cpp 2017/12/30 13:43:28 1092 +++ s10k/Vago/windowMessagesWizard/wmsetuppage.cpp 2017/12/30 13:57:32 1093 @@ -45,8 +45,8 @@ bool WmSetupPage::validatePage(){ stringsToCheck << ui->leWeaponClassName->text(); } - if(Util::checkEmptySpaces(stringsToCheck)){ - Util::showErrorPopUp("You need to fill all fields first!"); + if(Util::Validation::checkEmptySpaces(stringsToCheck)){ + Util::Dialogs::showError("You need to fill all fields first!"); return false; } @@ -61,8 +61,8 @@ void WmSetupPage::on_leLevelId_textChang return; } - if(!Util::isStringInteger(arg1)){ - Util::showErrorPopUp("The level id inputted is invalid! It must be a number."); + if(!Util::Validation::isStringInteger(arg1)){ + Util::Dialogs::showError("The level id inputted is invalid! It must be a number."); return; } @@ -90,8 +90,8 @@ void WmSetupPage::on_lePageNumber_textCh return; } - if(!Util::isStringInteger(arg1)){ - Util::showErrorPopUp("The page number inputted is invalid! It must be a number."); + if(!Util::Validation::isStringInteger(arg1)){ + Util::Dialogs::showError("The page number inputted is invalid! It must be a number."); return; }