diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-12-13 11:43:06 +0200 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2024-12-13 12:18:30 +0100 |
commit | dc79662a04780590f8ed3e2a6a111ce98dab8728 (patch) | |
tree | c87027739fafb233c3964f585a88c55062ad86c7 | |
parent | d2080376b32c2523c877dd6ed7d18e9be0260551 (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.cxx | 3 |
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); |