mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:00:16 +08:00
Fix invalid enabled state of "Explain current query" action. Closes #1239
This commit is contained in:
@ -6292,6 +6292,7 @@ begin
|
||||
actExecuteQuery.Enabled := HasConnection and InQueryTab and NotEmpty and (not Tab.QueryRunning);
|
||||
actExecuteSelection.Enabled := HasConnection and InQueryTab and HasSelection and (not Tab.QueryRunning);
|
||||
actExecuteCurrentQuery.Enabled := actExecuteQuery.Enabled;
|
||||
actExplainCurrentQuery.Enabled := actExecuteQuery.Enabled;
|
||||
actExplainAnalyzeCurrentQuery.Enabled := actExecuteQuery.Enabled;
|
||||
actSaveSQLAs.Enabled := InQueryTab and NotEmpty;
|
||||
actSaveSQL.Enabled := actSaveSQLAs.Enabled and Tab.Memo.Modified;
|
||||
|
Reference in New Issue
Block a user