From 1a0949f2e8f85f5318a30cb9881c2d401106b804 Mon Sep 17 00:00:00 2001 From: MusicalProgrammer Date: Thu, 6 Oct 2022 21:36:12 -0400 Subject: [PATCH] Fix: PropertyGrid crash when you resize it after it resets --- src/source/propertyGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source/propertyGrid.cpp b/src/source/propertyGrid.cpp index 2de3fae..9a0c83a 100644 --- a/src/source/propertyGrid.cpp +++ b/src/source/propertyGrid.cpp @@ -3917,7 +3917,7 @@ static BOOL Grid_OnGetSel(INT iItem) static VOID Grid_OnResetContent(VOID) { ListBox_ResetContent(g_lpInst->hwndListMap); - + g_lpInst->lpCurrent = NULL; if (NULL != g_lpInst->hwndCtl1) { DestroyWindow(g_lpInst->hwndCtl1);