mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Keep "Save" action enabled even if current query tab has no filename, so "Save" executes the "Save as" in such cases. Fixes issue #1590.
This commit is contained in:
@ -3686,7 +3686,7 @@ begin
|
|||||||
actExecuteSelection.Enabled := InQueryTab and HasSelection;
|
actExecuteSelection.Enabled := InQueryTab and HasSelection;
|
||||||
actExecuteLine.Enabled := InQueryTab and (Tab.Memo.LineText <> '');
|
actExecuteLine.Enabled := InQueryTab and (Tab.Memo.LineText <> '');
|
||||||
actSaveSQLAs.Enabled := InQueryTab and NotEmpty;
|
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;
|
actSaveSQLselection.Enabled := InQueryTab and HasSelection;
|
||||||
actSaveSQLSnippet.Enabled := InQueryTab and NotEmpty;
|
actSaveSQLSnippet.Enabled := InQueryTab and NotEmpty;
|
||||||
actSaveSQLSelectionSnippet.Enabled := InQueryTab and HasSelection;
|
actSaveSQLSelectionSnippet.Enabled := InQueryTab and HasSelection;
|
||||||
|
Reference in New Issue
Block a user