Przeglądaj źródła

Fix #1350: Access violation in hot keys options dialog

rich2014 1 rok temu
rodzic
commit
84c5074511
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/frames/foptionshotkeys.pas

+ 1 - 1
src/frames/foptionshotkeys.pas

@@ -782,7 +782,7 @@ begin
   FilterParts.Free;
 
   if CommandsFormCreated then
-    CommandsForm.Free;
+    Application.ReleaseComponent(CommandsForm);
 end;
 
 { TfrmOptionsHotkeys.FillCategoriesList }