feat: Make the changes persistent.
Signed-off-by: Redson <redson@riseup.net>
This commit is contained in:
parent
a12f892841
commit
6fe626ab9a
@ -1327,8 +1327,8 @@ void MainWindow::updateThemeMenu()
|
||||
themeAction->setActionGroup(ThemesGroup);
|
||||
|
||||
connect(themeAction, &QAction::triggered, [theme]() {
|
||||
APPLICATION->setApplicationTheme(theme->name().toLower(),false);
|
||||
|
||||
APPLICATION->setApplicationTheme(theme->id(),false);
|
||||
APPLICATION->settings()->set("ApplicationTheme", theme->id());
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user