diff --git a/src/webui/webapplication.cpp b/src/webui/webapplication.cpp index 0f556f3f3..e9c7678cd 100644 --- a/src/webui/webapplication.cpp +++ b/src/webui/webapplication.cpp @@ -211,6 +211,12 @@ void WebApplication::sendWebUIFile() throw BadRequestHTTPError(); } + if (m_isAltUIUsed && request().path == u"/" && request().query.contains(QStringLiteral(u"resetui"))) + { + Preferences::instance()->setAltWebUIEnabled(false); + configure(); + } + const QString path = (request().path != u"/") ? request().path : u"/index.html"_s;