[bugfix] Word Filter: 単語削除時、即座に設定が反映されていなかったのを修正。

This commit is contained in:
Sakamoto Shiina
2024-01-07 08:19:40 +09:00
parent caf9f87db6
commit 24f7823f44

View File

@@ -593,6 +593,8 @@ def callbackDeleteMicWordFilter(value):
new_input_mic_word_filter_list.remove(str(value))
config.INPUT_MIC_WORD_FILTER = new_input_mic_word_filter_list
view.setLatestConfigVariable("MicMicWordFilter")
model.resetKeywordProcessor()
model.addKeywords()
except Exception:
print("There was no the target word in config.INPUT_MIC_WORD_FILTER")