2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Refresh file references when sending stickers.

This commit is contained in:
John Preston
2018-07-16 20:31:07 +03:00
parent 557d363d02
commit c913c77fef
14 changed files with 218 additions and 131 deletions

View File

@@ -302,7 +302,7 @@ void StickerSetBox::Inner::mouseReleaseEvent(QMouseEvent *e) {
int index = stickerFromGlobalPos(e->globalPos());
if (index >= 0 && index < _pack.size() && !isMasksSet()) {
if (auto main = App::main()) {
if (main->onSendSticker(_pack.at(index))) {
if (main->onSendSticker(_pack[index])) {
Ui::hideSettingsAndLayer();
}
}