[ACPPAGE] Fix the shell extension asking to add an empty layer.

svn path=/trunk/; revision=75454
This commit is contained in:
Mark Jansen 2017-07-30 12:46:53 +00:00
parent e4cfb86b3e
commit cbb6f94f4d

View file

@ -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);