fixed theme selection from menu, centralized theme def to 1 place

This commit is contained in:
2024-06-09 18:00:06 +02:00
parent 01cfaf3b78
commit 3a743a65e5
4 changed files with 72 additions and 65 deletions

View File

@@ -274,6 +274,7 @@ func (config *Config) ToggleDebugging() {
func (config *Config) SwitchTheme(theme string) {
config.ThemeManager.SetCurrentTheme(theme)
config.RestartCache = true
}
func (config *Config) ToggleGridlines() {