зеркало из https://github.com/mozilla/pjs.git
fixes to bug#7717 on exiting the wizard you get a message stating that data has been saved
This commit is contained in:
Родитель
27c9a9f387
Коммит
213cc2e4f7
|
@ -320,6 +320,8 @@ BOOL CWizardMachineApp::InitInstance()
|
|||
|
||||
if (PageReturnValue == IDCANCEL)
|
||||
{
|
||||
AfxMessageBox("All changed data excluding those on the current page will be saved", MB_OK);
|
||||
|
||||
theApp.CreateNewCache();
|
||||
}
|
||||
if (PageReturnValue == ID_HELP)
|
||||
|
|
|
@ -392,6 +392,15 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
|
|||
_mkdir (tmpPath);
|
||||
}
|
||||
}
|
||||
else if (strcmp(pcmd, "Message") ==0)
|
||||
{
|
||||
int rv = AfxMessageBox(parms,MB_YESNO);
|
||||
if (rv == IDYES)
|
||||
return TRUE;
|
||||
if (rv == IDNO)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
else if (strcmp(pcmd, "DisplayImage") == 0)
|
||||
{
|
||||
// This is to dsiplay an image in a separate dialog
|
||||
|
|
Загрузка…
Ссылка в новой задаче