From dcb2e555c470ed535486e69295c68b9c9e1845ac Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Mon, 4 Nov 2024 14:15:54 +0800 Subject: [PATCH] 1: do not update name --- src/ui/editdictionaries.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/editdictionaries.cc b/src/ui/editdictionaries.cc index c0f377dd..ab2ab307 100644 --- a/src/ui/editdictionaries.cc +++ b/src/ui/editdictionaries.cc @@ -183,9 +183,9 @@ void EditDictionaries::acceptChangedSources( bool rebuildGroups ) { dictionariesChanged = true; - Config::Groups savedGroups = groups->getGroups(); - Config::Group savedOrder = orderAndProps->getCurrentDictionaryOrder(); - Config::Group savedInactive = orderAndProps->getCurrentInactiveDictionaries(); + Config::Groups savedGroups = cfg.groups; + Config::Group savedOrder = cfg.dictionaryOrder; + Config::Group savedInactive = cfg.inactiveDictionaries; cfg.paths = sources.getPaths(); cfg.soundDirs = sources.getSoundDirs();