From b6b73d0e11882e8c558b3344f0c062daa5fc8679 Mon Sep 17 00:00:00 2001 From: Andy Huska Date: Thu, 15 Sep 2022 18:39:56 -0500 Subject: [PATCH] Fixed crash when deleting a message that isn't at the bottom of the node --- dbc/dbchandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dbc/dbchandler.cpp b/dbc/dbchandler.cpp index 3bbfe01..c5cc4a5 100644 --- a/dbc/dbchandler.cpp +++ b/dbc/dbchandler.cpp @@ -192,6 +192,7 @@ bool DBCMessageHandler::removeMessage(DBC_MESSAGE *msg) { messages.removeAt(i); qDebug() << "Removed message at idx " << i; + break; } } return true;