Fixed crash when deleting a message that isn't at the bottom of the node

This commit is contained in:
Andy Huska
2022-09-15 18:39:56 -05:00
parent 2afd41b681
commit b6b73d0e11
+1
View File
@@ -192,6 +192,7 @@ bool DBCMessageHandler::removeMessage(DBC_MESSAGE *msg)
{
messages.removeAt(i);
qDebug() << "Removed message at idx " << i;
break;
}
}
return true;