Fix to no longer default to new graphs being the first DBC signal loaded.
The previous behavior always loaded that first signal and that made graphing custom things more annoying as the signal parameters all had to be deleted first.
This commit is contained in:
@@ -49,6 +49,18 @@ void NewGraphDialog::colorSwatchClick()
|
||||
|
||||
}
|
||||
|
||||
void NewGraphDialog::clearParams()
|
||||
{
|
||||
ui->txtID->clear();
|
||||
ui->txtBias->clear();
|
||||
ui->txtMask->clear();
|
||||
ui->txtScale->clear();
|
||||
ui->txtStride->clear();
|
||||
ui->txtName->clear();
|
||||
ui->txtData->clear();
|
||||
|
||||
}
|
||||
|
||||
void NewGraphDialog::setParams(GraphParams ¶ms)
|
||||
{
|
||||
ui->txtID->setText(Utility::formatNumber(params.ID));
|
||||
|
||||
Reference in New Issue
Block a user