summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);