Explorar o código

Fix #1350: Access violation in hot keys options dialog

rich2014 hai 1 ano
pai
achega
84c5074511
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }