From 44bb868efb97432cd35452f2101d6c96b257dfe5 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 2 Jan 2019 21:27:04 -0500 Subject: [PATCH] Fixed issue with removing band activity rows --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 4940e58..c4bae57 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1223,7 +1223,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, } auto selectedItems = ui->tableWidgetRXAll->selectedItems(); - int selectedOffset = selectedItems.first()->text().toInt(); + int selectedOffset = selectedItems.first()->data(Qt::UserRole).toInt(); m_bandActivity.remove(selectedOffset); displayActivity(true);