summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index de4a6b39..971bb04d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5918,7 +5918,8 @@ void MainWindow::refreshFilters()
{
QItemSelection currentSelection = ui->modList->selectionModel()->selection();
- QVariant currentIndexName = ui->modList->currentIndex().data();
+ int idxRow = ui->modList->currentIndex().row();
+ QVariant currentIndexName = ui->modList->model()->index(idxRow, 0).data();
ui->modList->setCurrentIndex(QModelIndex());
m_Filters->refresh();