Fix removing items in an EditableModelView
Fix #489 Fix #456 If @fourtf could take a look at this fix it would be nice KKaper
This commit is contained in:
@@ -189,7 +189,7 @@ public:
|
|||||||
assert(row >= 0 && row < this->rows.size());
|
assert(row >= 0 && row < this->rows.size());
|
||||||
|
|
||||||
int signalVectorRow = this->getVectorIndexFromModelIndex(row);
|
int signalVectorRow = this->getVectorIndexFromModelIndex(row);
|
||||||
this->vector->removeItem(signalVectorRow, this);
|
this->vector->removeItem(signalVectorRow);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user