From a10388d652912d9a3294a686766e6a0874e657d6 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Mon, 9 Jul 2018 13:48:47 -0400 Subject: [PATCH] Remove extraneous check that caused last signal to not be able to be deleted. --- dbc/dbcsignaleditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbc/dbcsignaleditor.cpp b/dbc/dbcsignaleditor.cpp index 1eb4977..02ea467 100644 --- a/dbc/dbcsignaleditor.cpp +++ b/dbc/dbcsignaleditor.cpp @@ -371,8 +371,8 @@ void DBCSignalEditor::deleteCurrentSignal() { int currIdx = ui->signalsList->currentRow(); - if(currIdx==ui->signalsList->count()-1) - return; + //if(currIdx==ui->signalsList->count()-1) + //return; if (currIdx > -1) {