mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
started photoviewer redesign
This commit is contained in:
@@ -1402,7 +1402,7 @@ void MainWidget::documentLoadProgress(mtpFileLoader *loader) {
|
||||
if (reader.supportsAnimation() && reader.imageCount() > 1 && item) {
|
||||
startGif(item, already);
|
||||
} else {
|
||||
App::wnd()->showDocument(document, QPixmap::fromImage(App::readImage(already, 0, false), Qt::ColorOnly), item);
|
||||
App::wnd()->showDocument(document, item);
|
||||
}
|
||||
} else {
|
||||
psOpenFile(already);
|
||||
|
Reference in New Issue
Block a user