Explorar el Código

Fix #1350: Access violation in hot keys options dialog

rich2014 hace 1 año
padre
commit
84c5074511
Se han modificado 1 ficheros con 1 adiciones y 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 }