diff --git a/src/main/mainwindow.cpp b/src/main/mainwindow.cpp index ca6ea60da..52c343ac4 100644 --- a/src/main/mainwindow.cpp +++ b/src/main/mainwindow.cpp @@ -2078,6 +2078,7 @@ void MainWindow::addThemeMenuItems() connect(switchThemeMenu, SIGNAL(mainWindowCheckThemeItemSignal()), this, SLOT(themeRecovery())); connect(switchThemeMenu, SIGNAL(menuHideSetThemeSignal()), this, SLOT(themeRecovery())); + connect(switchThemeMenu, &SwitchThemeMenu::aboutToShow, this, &MainWindow::checkThemeItem); } }