Assuming you don't have code elsewhere that creates table widget items, then
tries to access an item that does not exist. I.e. item(x, y) returns 0 and you are then calling a method on a null pointer.Qt Code:
ui->tableWidgetScenarios->item(x,y)->setText(rowData[y]);To copy to clipboard, switch view to plain text mode
See QTableWidget::setItem().
Cheers,
_
Bookmarks