From 942217fd6a9f9ef464841a6f4c9849eca0aed461 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 23 Jun 2018 14:46:21 +0000 Subject: [PATCH] Fix removing items in an EditableModelView Fix #489 Fix #456 If @fourtf could take a look at this fix it would be nice KKaper --- src/util/signalvectormodel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/signalvectormodel.hpp b/src/util/signalvectormodel.hpp index 7c5c72f08..78e4305a9 100644 --- a/src/util/signalvectormodel.hpp +++ b/src/util/signalvectormodel.hpp @@ -189,7 +189,7 @@ public: assert(row >= 0 && row < this->rows.size()); int signalVectorRow = this->getVectorIndexFromModelIndex(row); - this->vector->removeItem(signalVectorRow, this); + this->vector->removeItem(signalVectorRow); return true; }