2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

pausing gifs when mediaview is opened, improved photos handling - download on click if autoload disabled

This commit is contained in:
John Preston
2015-12-25 16:09:14 +03:00
parent edb2a9d5f6
commit a5622cfe3b
20 changed files with 418 additions and 349 deletions

View File

@@ -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();