mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +08:00
Fixed selection of view rows when changing to filtered data
* return values for select functions * select function must be "public override" * reselect filtered data as well
This commit is contained in:
committed by
Mat Sutcliffe
parent
88e82404e2
commit
30b65d6c36
@@ -138,8 +138,8 @@ namespace BlackGui
|
||||
int removeIf(K0 k0, V0 v0, KeysValues... keysValues)
|
||||
{
|
||||
int c = m_container.removeIf(BlackMisc::Predicates::MemberEqual(k0, v0, keysValues...));
|
||||
if (c > 0) { this->emitModelDataChanged();}
|
||||
this->updateFilteredContainer();
|
||||
if (c > 0) { this->emitModelDataChanged();}
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user