diff options
author | Wonkeun Oh <wonkeun.oh@samsung.com> | 2016-05-11 16:09:40 +0900 |
---|---|---|
committer | Wonkeun Oh <wonkeun.oh@samsung.com> | 2016-05-11 16:58:05 +0900 |
commit | fc5d8ff4ad286b46095228e3e33d851a8bb1d1a2 (patch) | |
tree | d72716231fafde3f2661b797637865ca0fcb49d5 /ism/src/scim_helper.cpp | |
parent | 45e9147c62293f7e8ceed0a6811b1180ad370967 (diff) | |
download | isf-fc5d8ff4ad286b46095228e3e33d851a8bb1d1a2.tar.gz isf-fc5d8ff4ad286b46095228e3e33d851a8bb1d1a2.tar.bz2 isf-fc5d8ff4ad286b46095228e3e33d851a8bb1d1a2.zip |
Fixed the bug that IMEngineInstance was deleted when the reset_keyboard_ise is called.
when the reset_keyboard_ise is called, IMEngineInstance's member function should be called.
but Pointer template class's member function(which delete the member obj) was called in the previous code.
So IMEngineInstance obj was deleted and IMEngine doesn't work(can't input text using IME) after flush_imengine or reset_keyboard_ise is called
Change-Id: I04ec5883f75b6eef2aa61fba1f0b8d9aa7150056
Diffstat (limited to 'ism/src/scim_helper.cpp')
-rw-r--r-- | ism/src/scim_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ism/src/scim_helper.cpp b/ism/src/scim_helper.cpp index a2a4f65e..252c489f 100644 --- a/ism/src/scim_helper.cpp +++ b/ism/src/scim_helper.cpp @@ -2199,7 +2199,7 @@ HelperAgent::set_keyboard_ise_by_uuid (const String &uuid) const if (!m_impl->si.null()) { m_impl->si->focus_out(); - m_impl->si.reset(); + m_impl->si->reset(); } if (m_impl->m_config.null ()) { @@ -2396,7 +2396,7 @@ HelperAgent::reset_keyboard_ise (void) const } #endif if (!m_impl->si.null ()) { - m_impl->si.reset (); + m_impl->si->reset (); } } |