Browse Source

Fix #1350: Access violation in hot keys options dialog

rich2014 1 year ago
parent
commit
84c5074511
1 changed files with 1 additions and 1 deletions
  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 }