Fix only first 7 stickers showing up
This commit is contained in:
parent
56b44a85b5
commit
9f416f1fc9
3 changed files with 8 additions and 6 deletions
|
|
@ -597,7 +597,7 @@ TimelineViewManager::completerFor(QString completerName, QString roomId)
|
|||
return proxy;
|
||||
} else if (completerName == "stickers") {
|
||||
auto stickerModel = new ImagePackModel(roomId.toStdString(), true);
|
||||
auto proxy = new CompletionProxyModel(stickerModel);
|
||||
auto proxy = new CompletionProxyModel(stickerModel, 1, static_cast<size_t>(-1) / 4);
|
||||
stickerModel->setParent(proxy);
|
||||
return proxy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue