From d59703223183206c8b68b3bdb90ad20fbb4b8284 Mon Sep 17 00:00:00 2001 From: misygauziya Date: Sun, 27 Aug 2023 05:13:02 +0900 Subject: [PATCH] =?UTF-8?q?[bugfix]=20=E3=83=86=E3=82=B9=E3=83=88=E3=82=B3?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vrct_gui/main_window/widgets/create_sidebar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vrct_gui/main_window/widgets/create_sidebar.py b/vrct_gui/main_window/widgets/create_sidebar.py index 1b290954..f58ecb8f 100644 --- a/vrct_gui/main_window/widgets/create_sidebar.py +++ b/vrct_gui/main_window/widgets/create_sidebar.py @@ -21,7 +21,6 @@ def createSidebar(settings, main_window): is_turned_on = getattr(main_window, "translation_switch_box").get() print(is_turned_on) toggleSidebarFeatureSelectedMarkIfTurnedOn(is_turned_on, main_window.translation_selected_mark) - toggleTranslationFeatures = [toggleTranslationFeature] def toggleTranscriptionSendFeature(): is_turned_on = getattr(main_window, "transcription_send_switch_box").get() @@ -254,7 +253,7 @@ def createSidebar(settings, main_window): sidebar_features_settings = [ { "frame_attr_name": "translation_frame", - "command": lambda:[func() for func in toggleTranslationFeatures], + "command": toggleTranslationFeature, "switch_box_attr_name": "translation_switch_box", "toggle_switch_box_command": toggleTranslationSwitchBox, "label_attr_name": "label_translation",