diff options
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
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(); |
