Skip to content
Snippets Groups Projects
Commit a44e888a authored by rswindell's avatar rswindell
Browse files

Now calls refresh_cfg() after saving configuration data.

parent 27a49577
No related branches found
No related tags found
No related merge requests found
......@@ -310,10 +310,11 @@ void __fastcall TConfigWizard::NextButtonClick(TObject *Sender)
scfg.sys_misc&=~SM_USRVDELM;
}
if(!save_cfg(&scfg,3)) {
if(!save_cfg(&scfg,5)) {
Application->MessageBox("Error saving configuration"
,"ERROR",MB_OK|MB_ICONEXCLAMATION);
}
} else
refresh_cfg(&scfg);
MainForm->FirstRun=false;
Close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment