summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-12-13 11:43:06 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-12-13 12:18:30 +0100
commitdc79662a04780590f8ed3e2a6a111ce98dab8728 (patch)
treec87027739fafb233c3964f585a88c55062ad86c7
parentd2080376b32c2523c877dd6ed7d18e9be0260551 (diff)
tdf#144694 In direct SQL dialog, activate options 'Run SQL command
directly' and 'Show output of "select" statements' by default. Change-Id: I7708259ccbe8b81b6c0ef9d6bc10c5c2c9933194 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178405 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--dbaccess/source/ui/dlg/directsql.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx
index bf80d7203562..1ba69167baa1 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -87,6 +87,9 @@ namespace dbaui
m_xClose->connect_clicked(LINK(this, DirectSQLDialog, OnCloseClick));
m_xSQLHistory->connect_changed(LINK(this, DirectSQLDialog, OnListEntrySelected));
+ m_xDirectSQL->set_active(true);
+ m_xShowOutput->set_active(true);
+
for (size_t i = 0; i < memp.SQLHistory.size(); i++)
{
implAddToStatementHistory(memp.SQLHistory[i], true);