From 24f7823f4496754f61f6517f764aed0d24e14afb Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Sun, 7 Jan 2024 08:19:40 +0900 Subject: [PATCH] =?UTF-8?q?[bugfix]=20Word=20Filter:=20=E5=8D=98=E8=AA=9E?= =?UTF-8?q?=E5=89=8A=E9=99=A4=E6=99=82=E3=80=81=E5=8D=B3=E5=BA=A7=E3=81=AB?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=81=8C=E5=8F=8D=E6=98=A0=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controller.py b/controller.py index 565fc0fa..42f17be6 100644 --- a/controller.py +++ b/controller.py @@ -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")