mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[ACPPAGE] Fix the shell extension asking to add an empty layer.
svn path=/trunk/; revision=75454
This commit is contained in:
parent
e4cfb86b3e
commit
cbb6f94f4d
|
@ -455,7 +455,7 @@ static void OnAdd(HWND hWnd)
|
|||
Index = ListBox_AddString(List, Str);
|
||||
ListBox_SetCurSel(List, Index);
|
||||
ListboxChanged(hWnd);
|
||||
ComboBox_SetText(Combo, TEXT(""));
|
||||
ComboBox_SetCurSel(Combo, -1);
|
||||
SetFocus(Combo);
|
||||
}
|
||||
|
||||
|
@ -523,6 +523,7 @@ INT_PTR CALLBACK CLayerUIPropPage::EditModesProc(HWND hWnd, UINT uMsg, WPARAM wP
|
|||
ListBox_GetText(List, Cur, Str);
|
||||
ListBox_DeleteString(List, Cur);
|
||||
HWND Combo = GetDlgItem(hWnd, IDC_NEWCOMPATIBILITYMODE);
|
||||
ComboBox_SetCurSel(Combo, -1);
|
||||
ComboBox_SetText(Combo, Str);
|
||||
ListboxChanged(hWnd);
|
||||
ComboBox_SetEditSel(Combo, 30000, 30000);
|
||||
|
|
Loading…
Reference in a new issue