зеркало из https://github.com/mozilla/pjs.git
Fix for bug 99370: Linux tar file selectable after clicking on next
and back button (r=tao)
This commit is contained in:
Родитель
40212fbb9d
Коммит
e221dd8cca
|
@ -176,7 +176,7 @@ LRESULT CWizardUI::OnWizardBack()
|
||||||
UpdateGlobals();
|
UpdateGlobals();
|
||||||
DestroyCurrentScreenWidgets();
|
DestroyCurrentScreenWidgets();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (!prevLock.IsLocked())
|
if (!prevLock.IsLocked())
|
||||||
{
|
{
|
||||||
prevLock.Lock();
|
prevLock.Lock();
|
||||||
|
@ -202,7 +202,7 @@ LRESULT CWizardUI::OnWizardNext()
|
||||||
DestroyCurrentScreenWidgets();
|
DestroyCurrentScreenWidgets();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nextLock.IsLocked())
|
if (!nextLock.IsLocked())
|
||||||
{
|
{
|
||||||
nextLock.Lock();
|
nextLock.Lock();
|
||||||
|
@ -547,6 +547,18 @@ void CWizardUI::UpdateScreenWidget(WIDGET *curWidget)
|
||||||
if (widg)
|
if (widg)
|
||||||
widg->control->EnableWindow(TRUE);
|
widg->control->EnableWindow(TRUE);
|
||||||
}
|
}
|
||||||
|
else if ((strcmp(curWidget->value,"Linux")==0) && (direxist != -1))
|
||||||
|
{
|
||||||
|
WIDGET *widg = findWidget("LinuxPath");
|
||||||
|
if (widg)
|
||||||
|
widg->control->EnableWindow(FALSE);
|
||||||
|
widg = findWidget("Text7888");
|
||||||
|
if (widg)
|
||||||
|
widg->control->EnableWindow(FALSE);
|
||||||
|
widg = findWidget("Button9888");
|
||||||
|
if (widg)
|
||||||
|
widg->control->EnableWindow(FALSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selRv == CB_ERR)
|
if (selRv == CB_ERR)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче