Author: mjansen
Date: Sun Jul 30 12:46:53 2017
New Revision: 75454

URL: http://svn.reactos.org/svn/reactos?rev=75454&view=rev
Log:
[ACPPAGE] Fix the shell extension asking to add an empty layer.

Modified:
    trunk/reactos/dll/shellext/acppage/CLayerUIPropPage.cpp

Modified: trunk/reactos/dll/shellext/acppage/CLayerUIPropPage.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/shellext/acppage/CLayerUIPropPage.cpp?rev=75454&r1=75453&r2=75454&view=diff
==============================================================================
--- trunk/reactos/dll/shellext/acppage/CLayerUIPropPage.cpp     [iso-8859-1] 
(original)
+++ trunk/reactos/dll/shellext/acppage/CLayerUIPropPage.cpp     [iso-8859-1] 
Sun Jul 30 12:46:53 2017
@@ -455,7 +455,7 @@
         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 @@
             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);


Reply via email to