diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 240b492..6f2e492 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1648,6 +1648,7 @@ void MainWindow::slot_change_theme(const QString& theme_name) if (qFile.open(QFile::ReadOnly)) { QString styleSheet = QLatin1String(qFile.readAll()); + this->setStyleSheet(""); // reset styles this->setStyleSheet(styleSheet); }