diff --git a/pglab/TablesPage.cpp b/pglab/TablesPage.cpp index f0ce545..b6dbaf1 100644 --- a/pglab/TablesPage.cpp +++ b/pglab/TablesPage.cpp @@ -99,6 +99,9 @@ TablesPage::TablesPage(MainWindow *parent) m_sqlCodePreview = new SqlCodePreview(this); ui->twDetails->addTab(m_sqlCodePreview, ""); + // Force focus on columns tab by default + ui->twDetails->setCurrentIndex(0); + retranslateUi(false); }