mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
started media redesign (does not compile!)
This commit is contained in:
@@ -148,7 +148,7 @@ void StickerSetInner::paintEvent(QPaintEvent *e) {
|
||||
doc->thumb->load();
|
||||
} else {
|
||||
bool already = !doc->already().isEmpty(), hasdata = !doc->data.isEmpty();
|
||||
if (!doc->loader && doc->status != FileFailed && !already && !hasdata) {
|
||||
if (!already && !hasdata && !doc->loader && doc->status == FileReady) {
|
||||
doc->save(QString());
|
||||
}
|
||||
if (doc->sticker()->img->isNull() && (already || hasdata)) {
|
||||
|
Reference in New Issue
Block a user