diff --git a/resources/desktop/com.github.rssguard.appdata.xml b/resources/desktop/com.github.rssguard.appdata.xml index 41ea109c6..7a11cf541 100644 --- a/resources/desktop/com.github.rssguard.appdata.xml +++ b/resources/desktop/com.github.rssguard.appdata.xml @@ -30,7 +30,7 @@ https://martinrotter.github.io/donate/ - + none diff --git a/src/librssguard/gui/webviewer.cpp b/src/librssguard/gui/webviewer.cpp index f95a0378f..253a02db1 100644 --- a/src/librssguard/gui/webviewer.cpp +++ b/src/librssguard/gui/webviewer.cpp @@ -82,6 +82,10 @@ bool WebViewer::resetWebPageZoom(bool to_factory_default) { const qreal new_factor = to_factory_default ? 1.0 : qApp->settings()->value(GROUP(Messages), SETTING(Messages::Zoom)).toReal(); + if (to_factory_default) { + qApp->settings()->setValue(GROUP(Messages), Messages::Zoom, new_factor); + } + if (new_factor != zoomFactor()) { setZoomFactor(new_factor); return true;