Changes to regedit:
[reactos.git] / reactos / base / applications / regedit / framewnd.c
index 4f74693..a0ea7cb 100644 (file)
@@ -949,7 +949,10 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
              MessageBeep(MB_ICONHAND); 
           } else
           if (DeleteKey(hWnd, hKeyRoot, keyPath))
+          {
             DeleteNode(g_pChildWnd->hTreeWnd, 0);
+            RefreshTreeView(g_pChildWnd->hTreeWnd);
+          }
         }
        break;
     case ID_EDIT_NEW_STRINGVALUE: