Fix crash bug in graphing window when trying to edit graphs that don't
hvae a corresponding signal entry in a DBC file
This commit is contained in:
@@ -227,6 +227,8 @@ void NewGraphDialog::setParams(GraphParams ¶ms)
|
|||||||
|
|
||||||
loadNodes();
|
loadNodes();
|
||||||
|
|
||||||
|
if (assocSignal)
|
||||||
|
{
|
||||||
auto msg = assocSignal->parentMessage;
|
auto msg = assocSignal->parentMessage;
|
||||||
auto node = msg->sender;
|
auto node = msg->sender;
|
||||||
|
|
||||||
@@ -274,6 +276,7 @@ void NewGraphDialog::setParams(GraphParams ¶ms)
|
|||||||
qDebug() << "Matching plot params to Signal: " << sigFound;
|
qDebug() << "Matching plot params to Signal: " << sigFound;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//ui->cbNodes->model()->
|
//ui->cbNodes->model()->
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user