зеркало из 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();
|
||||
DestroyCurrentScreenWidgets();
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
if (!prevLock.IsLocked())
|
||||
{
|
||||
prevLock.Lock();
|
||||
|
@ -202,7 +202,7 @@ LRESULT CWizardUI::OnWizardNext()
|
|||
DestroyCurrentScreenWidgets();
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
if (!nextLock.IsLocked())
|
||||
{
|
||||
nextLock.Lock();
|
||||
|
@ -547,6 +547,18 @@ void CWizardUI::UpdateScreenWidget(WIDGET *curWidget)
|
|||
if (widg)
|
||||
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче