mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #2187: Fixed EAccessViolation when closing editor while using non-default theme
This commit is contained in:
@ -289,6 +289,9 @@ begin
|
||||
AppSettings.SessionPath := MainForm.GetRegKeyTable;
|
||||
AppSettings.WriteString(asMemoEditorHighlighter, comboHighlighter.Text, FTableColumn.Name);
|
||||
end;
|
||||
// Fixes EAccessViolation under 64-bit when using non-default themes
|
||||
if Assigned(Panel1) then
|
||||
Panel1.Parent := nil;
|
||||
end;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user