зеркало из https://github.com/mozilla/pjs.git
Fixing bug 93113: Enhancement for disabled look of Navigator check box
(r=tao)
This commit is contained in:
Родитель
933629ee16
Коммит
fadfde0909
|
@ -459,7 +459,6 @@ void CWizardUI::UpdateScreenWidget(WIDGET *curWidget)
|
|||
char indices[MAX_SIZE];
|
||||
int i;
|
||||
|
||||
((CCheckListBox*)curWidget->control)->Enable(0,FALSE);
|
||||
strcpy(indices, curWidget->value);
|
||||
char *s = strtok(indices, ",");
|
||||
for (; s; s=strtok(NULL, ","))
|
||||
|
@ -467,7 +466,13 @@ void CWizardUI::UpdateScreenWidget(WIDGET *curWidget)
|
|||
i = ((CCheckListBox*)curWidget->control)->FindString(0, s);
|
||||
if (i != -1)
|
||||
{
|
||||
((CCheckListBox*)curWidget->control)->SetCheck(i, 1);
|
||||
if (strcmp(s,"Navigator")==0)
|
||||
{
|
||||
((CCheckListBox*)curWidget->control)->SetCheck(i, 2);
|
||||
((CCheckListBox*)curWidget->control)->Enable(i, FALSE);
|
||||
}
|
||||
else
|
||||
((CCheckListBox*)curWidget->control)->SetCheck(i, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче