Revert "themes kitten: When using the Default theme as an auto switch theme include all the actual settings values"

This reverts commit 2abc0be844.
This commit is contained in:
Kovid Goyal
2024-12-20 12:54:47 +05:30
parent dd9d8353df
commit 35b3ae8edb
5 changed files with 3 additions and 37 deletions

View File

@@ -525,11 +525,7 @@ func (self *handler) on_accepting_key_event(ev *loop.KeyEvent) error {
scheme := func(name string) error {
ev.Handled = true
{
theme := self.themes_list.CurrentTheme()
theme.GenerateDefaultSettings()
theme.SaveInFile(utils.ConfigDir(), name)
}
self.themes_list.CurrentTheme().SaveInFile(utils.ConfigDir(), name)
self.update_recent()
self.lp.Quit(0)
return nil