feat: Make the changes persistent.
Signed-off-by: Redson <redson@riseup.net>
This commit is contained in:
		@@ -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());
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user