1: do not update name

This commit is contained in:
xiaoyifang 2024-11-04 14:15:54 +08:00 committed by xiaoyifang
parent 10b0496cce
commit 59d01868da

View file

@ -183,9 +183,9 @@ void EditDictionaries::acceptChangedSources( bool rebuildGroups )
{ {
dictionariesChanged = true; dictionariesChanged = true;
Config::Groups savedGroups = groups->getGroups(); Config::Groups savedGroups = cfg.groups;
Config::Group savedOrder = orderAndProps->getCurrentDictionaryOrder(); Config::Group savedOrder = cfg.dictionaryOrder;
Config::Group savedInactive = orderAndProps->getCurrentInactiveDictionaries(); Config::Group savedInactive = cfg.inactiveDictionaries;
cfg.paths = sources.getPaths(); cfg.paths = sources.getPaths();
cfg.soundDirs = sources.getSoundDirs(); cfg.soundDirs = sources.getSoundDirs();