mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Approach to fix "Q_ASSERT(found != end1);" assert as reported by RP
https://swift-project.slack.com/archives/G96QTUBEG/p1546880962000700
This commit is contained in:
committed by
Mat Sutcliffe
parent
ed2acf4d74
commit
33a3984588
@@ -327,7 +327,7 @@ namespace BlackGui
|
||||
if (this->isEmpty()) { return 0; }
|
||||
|
||||
const int currentRows = this->rowCount();
|
||||
const ContainerType selected(selectedObjects());
|
||||
const ContainerType selected(this->selectedObjects());
|
||||
const CVariant deletedObjsVariant = CVariant::from(selected);
|
||||
int delta = 0;
|
||||
|
||||
@@ -339,7 +339,7 @@ namespace BlackGui
|
||||
}
|
||||
else
|
||||
{
|
||||
ContainerType unselectedObjects(container());
|
||||
ContainerType unselectedObjects(this->container());
|
||||
unselectedObjects.removeIfInSubset(selected);
|
||||
this->updateContainerMaybeAsync(unselectedObjects);
|
||||
delta = currentRows - unselectedObjects.size();
|
||||
|
||||
Reference in New Issue
Block a user