From bee6acab7b0e43d9f6204365a8baaaa44ea271ae Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 22 May 2021 13:56:11 +0200 Subject: [PATCH] Issue #1375: Leave EXPLAIN menu items enabled for SQLite as well. --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 1e8d22a3..c0c1576f 100644 --- a/source/main.pas +++ b/source/main.pas @@ -6364,7 +6364,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 and (Conn.Parameters.NetTypeGroup in [ngMySQL, ngPgSQL]); + actExplainCurrentQuery.Enabled := actExecuteQuery.Enabled and (Conn.Parameters.NetTypeGroup in [ngMySQL, ngPgSQL, ngSQLite]); actExplainAnalyzeCurrentQuery.Enabled := actExplainCurrentQuery.Enabled and Conn.Parameters.IsAnyMySQL; actSaveSQLAs.Enabled := InQueryTab and NotEmpty; actSaveSQL.Enabled := actSaveSQLAs.Enabled and Tab.Memo.Modified;