From a5183c2fc4df4ffb5d7de42c9d23ec1cf76bd978 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 26 Feb 2014 14:35:57 +0100 Subject: [PATCH] Resolved issue in GUI init overlooked during merge --- samples/blackgui/mainwindow_init.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/samples/blackgui/mainwindow_init.cpp b/samples/blackgui/mainwindow_init.cpp index 9ec0f9ca2..5bb9a3687 100644 --- a/samples/blackgui/mainwindow_init.cpp +++ b/samples/blackgui/mainwindow_init.cpp @@ -76,11 +76,8 @@ void MainWindow::init(GuiModes::CoreMode coreMode) this->m_modelSettingsHotKeys = new CKeyboardKeyListModel(this); // set sort order and models - // enable first, otherwise order in the model will be reset - this->ui->tv_SettingsTnServers->setModel(this->m_modelTrafficServerList); - // enable sorting first, otherwise order in the model will be reset - this->ui->tv_SettingsTnServers->setModel(this->m_trafficServerList); + this->ui->tv_SettingsTnServers->setModel(this->m_modelTrafficServerList); this->ui->tv_SettingsTnServers->horizontalHeader()->setStretchLastSection(true); this->ui->tv_StatusMessages->setSortingEnabled(true); this->ui->tv_StatusMessages->setModel(this->m_statusMessageList);