diff --git a/source/main.pas b/source/main.pas index 5c9ea4d9..986905ed 100644 --- a/source/main.pas +++ b/source/main.pas @@ -3686,7 +3686,7 @@ begin actExecuteSelection.Enabled := InQueryTab and HasSelection; actExecuteLine.Enabled := InQueryTab and (Tab.Memo.LineText <> ''); actSaveSQLAs.Enabled := InQueryTab and NotEmpty; - actSaveSQL.Enabled := actSaveSQLAs.Enabled and (Tab.MemoFilename <> '') and Tab.Memo.Modified; + actSaveSQL.Enabled := actSaveSQLAs.Enabled and Tab.Memo.Modified; actSaveSQLselection.Enabled := InQueryTab and HasSelection; actSaveSQLSnippet.Enabled := InQueryTab and NotEmpty; actSaveSQLSelectionSnippet.Enabled := InQueryTab and HasSelection;