Merge pull request #720 from martonmiklos/do_not_add_extra_newline_to_the_interpreted_frame_data
Do not add extra trailing newline on the decoded message texts
This commit is contained in:
+6
-2
@@ -76,12 +76,16 @@ QString DBC_SIGNAL::processSignalTree(const CANFrame &frame)
|
||||
if (sig->processAsText(frame, sigString))
|
||||
{
|
||||
qDebug() << "Returned value: " << sigString;
|
||||
if (!build.isEmpty() && !sigString.isEmpty())
|
||||
build.append("\n");
|
||||
build.append(sigString);
|
||||
build.append("\n");
|
||||
if (sig->isMultiplexor)
|
||||
{
|
||||
qDebug() << "Spelunkin!";
|
||||
build.append(sig->processSignalTree(frame));
|
||||
auto subTreeString = sig->processSignalTree(frame);
|
||||
if (!build.isEmpty() && !subTreeString.isEmpty())
|
||||
build.append("\n");
|
||||
build.append(subTreeString);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user