Fixed issue with removing band activity rows

This commit is contained in:
Jordan Sherer 2019-01-02 21:27:04 -05:00
parent e098fe75c2
commit 44bb868efb

View File

@ -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);