mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Fix for bug 99370: Linux tar file selectable after clicking on next
and back button (r=tao)
This commit is contained in:
parent
cffd41b568
commit
c6eef0c65b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user