summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index 8ea994a..6d42491 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -41,9 +41,8 @@ Dialog::Dialog(QWidget *parent)
connect(centerTimer_, SIGNAL(timeout()), this, SLOT(onCenterTimer()));
centerTimer_->start(1000);
- activeTab_ = 0;
- ui->tabButtonLocal->setChecked(true);
- ui->filterEdit->setEnabled(false);
+ activeTab_ = 2;
+ ui->tabButtonAllClasses->setChecked(true);
ui->helpBox->hide();
ui->newsBox->hide();
@@ -240,6 +239,7 @@ void Dialog::selectPreviousSession() {
this->onTabButtonChanged(ChooserSettings::getSetting("last-tab").toInt());
}
}
+ setListModel(this->model_[this->activeTab_]);
}
void Dialog::startSession(const QString& name) {