Remove *ResetModel() in inserts (so selection isnt destroyed, and it works now without it)
This commit is contained in:
parent
76f17ee661
commit
b118d85e11
@ -135,8 +135,6 @@ namespace Avahi {
|
|||||||
el->list.push_front(el->newEntry(s, priv));
|
el->list.push_front(el->newEntry(s, priv));
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
}
|
}
|
||||||
beginResetModel();
|
|
||||||
endResetModel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowseModel::remove(const Avahi::Service &s) {
|
void BrowseModel::remove(const Avahi::Service &s) {
|
||||||
|
Loading…
Reference in New Issue
Block a user