mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
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:
parent
ee1fd9274d
commit
942217fd6a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue