File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,16 +116,17 @@ void AdvanceConfig::setValue(const QVariant &value)
116116 } else {
117117 map = value.toMap ();
118118 }
119+ for (auto optionWidget : optionWidgets) {
120+ optionWidget->readValueFrom (map);
121+ }
122+
119123 QList<fcitx::Key> keyList1 = readValue (map, " Hotkey/TriggerKeys" );
120124 QList<fcitx::Key> keyList2 = readValue (map, " Hotkey/EnumerateForwardKeys" );
121125 QString s1 = QString::fromUtf8 (Key::keyListToString (keyList1, KeyStringFormat::Portable).c_str ());
122126 QString s2 = QString::fromUtf8 (Key::keyListToString (keyList2, KeyStringFormat::Portable).c_str ());
123127 emit switchIMShortCutsChanged (s2);
124128 emit switchFirstIMShortCutsChanged (s1);
125129
126- for (auto optionWidget : optionWidgets) {
127- optionWidget->readValueFrom (map);
128- }
129130 m_dontEmitChanged = false ;
130131}
131132
You can’t perform that action at this time.
0 commit comments