diff options
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp index f995bc9..32927fc 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -736,6 +736,8 @@ void BrowserTab::renderPage(const QByteArray &data, const MimeType &mime) if (imageSize.width() > browserSize.width() || imageSize.height() > browserSize.height()) this->ui->graphics_browser->fitInView(graphics_scene.sceneRect(), Qt::KeepAspectRatio); + else + this->ui->graphics_browser->resetTransform(); this->ui->graphics_browser->setSceneRect(graphics_scene.sceneRect()); }); |
