diff --git a/src/ce_editor.pas b/src/ce_editor.pas index 83ad30ca..390f4c34 100644 --- a/src/ce_editor.pas +++ b/src/ce_editor.pas @@ -146,8 +146,7 @@ end; function TCEEditorWidget.closeQuery: boolean; begin - result := inherited; - result := result and (Parent = nil); + result := inherited and (Parent = nil); end; {$ENDREGION}