mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix crash in media viewer refresh in showPhoto.
This commit is contained in:
parent
bdbcd8e540
commit
7757cad839
1 changed files with 0 additions and 4 deletions
|
@ -1883,8 +1883,6 @@ void OverlayWidget::showPhoto(not_null<PhotoData*> photo, HistoryItem *context)
|
|||
_firstOpenedPeerPhoto = false;
|
||||
assignMediaPointer(photo);
|
||||
|
||||
refreshMediaViewer();
|
||||
|
||||
displayPhoto(photo, context);
|
||||
preloadData(0);
|
||||
activateControls();
|
||||
|
@ -1897,8 +1895,6 @@ void OverlayWidget::showPhoto(not_null<PhotoData*> photo, not_null<PeerData*> co
|
|||
_firstOpenedPeerPhoto = true;
|
||||
assignMediaPointer(photo);
|
||||
|
||||
refreshMediaViewer();
|
||||
|
||||
displayPhoto(photo, nullptr);
|
||||
preloadData(0);
|
||||
activateControls();
|
||||
|
|
Loading…
Add table
Reference in a new issue