Fix issue that opend voice setting window multiply when tab to language icon multiply 65/93365/2
authorsungwook79.park <sungwook79.park@samsung.com>
Mon, 24 Oct 2016 02:22:20 +0000 (11:22 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 24 Oct 2016 02:33:18 +0000 (19:33 -0700)
Change-Id: Iddfb6cbc5b61dd33a2042f2743597718983e9686
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/ise.cpp

index ca57c4d..a135633 100644 (file)
@@ -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();