From c498d9686263d0f079789fe34b33ec6adcbb0985 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Tue, 23 Jul 2019 18:15:32 +0300 Subject: [PATCH] CSV tab has been fixed --- limereport/databrowser/lrsqleditdialog.cpp | 5 ++-- limereport/databrowser/lrsqleditdialog.ui | 29 +++++++++++++++++++++- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/limereport/databrowser/lrsqleditdialog.cpp b/limereport/databrowser/lrsqleditdialog.cpp index d53bc3d..8f613b5 100644 --- a/limereport/databrowser/lrsqleditdialog.cpp +++ b/limereport/databrowser/lrsqleditdialog.cpp @@ -278,7 +278,8 @@ void SQLEditDialog::initQueryMode() ui->cbSubdetail->setChecked(false); ui->leMaster->setVisible(false); ui->lbMaster->setVisible(false); - ui->tabWidget->removeTab(1); + //ui->tabWidget->removeTab(1); + ui->tabWidget->addTab(ui->csvTab, tr("CSV")); } void SQLEditDialog::initSubQueryMode() @@ -314,7 +315,7 @@ void SQLEditDialog::initProxyMode() void SQLEditDialog::initCSVMode() { - ui->tabWidget->removeTab(0); + ui->tabWidget->setCurrentWidget(ui->csvTab); } void SQLEditDialog::slotPreviewData() diff --git a/limereport/databrowser/lrsqleditdialog.ui b/limereport/databrowser/lrsqleditdialog.ui index f0abfbe..177343d 100644 --- a/limereport/databrowser/lrsqleditdialog.ui +++ b/limereport/databrowser/lrsqleditdialog.ui @@ -7,7 +7,7 @@ 0 0 422 - 622 + 646 @@ -183,6 +183,15 @@ + + + + 0 + 0 + 0 + + + @@ -320,6 +329,15 @@ + + + + 0 + 0 + 0 + + + @@ -457,6 +475,15 @@ + + + + 0 + 0 + 0 + + +