Cleaned out comment blocks from debug and fixed framesender not showing
count until a number is manually entered (it was seeing the null item, creating the item, but not putting it in the table).
This commit is contained in:
@@ -821,12 +821,13 @@ void FrameSenderWindow::updateGridRow(int idx)
|
||||
|
||||
if (item == nullptr)
|
||||
{
|
||||
//item = new QTableWidgetItem();
|
||||
//item->setText(QString::number(temp->count)); //crashes here ---qt_Static_metacall -> handleTick ->here
|
||||
item = new QTableWidgetItem();
|
||||
item->setText(QString::number(temp->count));
|
||||
ui->tableSender->setItem(gridLine, 9, item);
|
||||
}
|
||||
else
|
||||
{
|
||||
item->setText(QString::number(temp->count)); //crashes here ---qt_Static_metacall -> handleTick ->here
|
||||
item->setText(QString::number(temp->count));
|
||||
}
|
||||
|
||||
if (temp->frameType() != QCanBusFrame::RemoteRequestFrame)
|
||||
|
||||
Reference in New Issue
Block a user