From 87bf2e73c31b031801f7224c2bc74ba0abd85d75 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Mon, 24 Oct 2016 11:22:20 +0900 Subject: [PATCH] Fix issue that opend voice setting window multiply when tab to language icon multiply Change-Id: Iddfb6cbc5b61dd33a2042f2743597718983e9686 Signed-off-by: sungwook79.park --- src/ise.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ise.cpp b/src/ise.cpp index ca57c4d..a135633 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -1067,7 +1067,9 @@ SCLEventReturnType CUIEventCallback::on_event_key_clicked(SclUIEventDesc event_d } case KEY_TYPE_MODECHANGE: if (strcmp(event_desc.key_value, USER_VOICE_LANGUAGE) == 0) { - create_setting_window(); + if (!g_setting_window_open_status) { + create_setting_window(); + } } else if (strcmp(event_desc.key_value, USER_KEYSTRING_OPTION) == 0) { if (!option_window_is_available (OPTION_WINDOW_TYPE_NORMAL)) g_core.create_option_window(); -- 2.7.4