mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
pausing gifs when mediaview is opened, improved photos handling - download on click if autoload disabled
This commit is contained in:
@@ -844,7 +844,7 @@ void SettingsInner::mousePressEvent(QMouseEvent *e) {
|
||||
Ui::showLayer(new EditNameTitleBox(self()));
|
||||
} else if (QRect(_left, st::setTop, st::setPhotoSize, st::setPhotoSize).contains(e->pos())) {
|
||||
if (_photoLink) {
|
||||
App::photo(self()->photoId)->full->load();
|
||||
App::photo(self()->photoId)->download();
|
||||
_photoLink->onClick(e->button());
|
||||
} else {
|
||||
onUpdatePhoto();
|
||||
|
Reference in New Issue
Block a user