fixed bug (P130404-6951:Force close occur when we create new sheet and try to add...
authorChulheon <ch.jeong47@samsung.com>
Wed, 17 Apr 2013 05:40:57 +0000 (14:40 +0900)
committerChulheon <ch.jeong47@samsung.com>
Wed, 17 Apr 2013 05:40:57 +0000 (14:40 +0900)
Change-Id: I2d55acd838f3048c9baf6a1791f5e1ae18e94f3e

src/ui/FUi_InputConnectionImpl.cpp

index efaa197..7e74945 100644 (file)
@@ -1155,6 +1155,12 @@ _InputConnectionImpl::OnKeyPressed(const _Control& source, const _KeyInfo& keyIn
                return false;
        }
 
+       _KeyCode keyCode = keyInfo.GetKeyCode();
+       if (keyCode == _KEY_OEM_1)
+       {
+               return false;
+       }
+
        Ecore_Event_Key* pEvent = static_cast<Ecore_Event_Key*>(keyInfo.GetUserData());
        SysTryReturn(NID_UI, pEvent, false, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
@@ -1309,6 +1315,12 @@ _InputConnectionImpl::OnKeyReleased(const _Control& source, const _KeyInfo& keyI
                return false;
        }
 
+       _KeyCode keyCode = keyInfo.GetKeyCode();
+       if (keyCode == _KEY_OEM_1)
+       {
+               return false;
+       }
+
        Ecore_Event_Key* pEvent = static_cast<Ecore_Event_Key*>(keyInfo.GetUserData());
        SysTryReturn(NID_UI, pEvent, false, E_SYSTEM, "[E_SYSTEM] A system error occurred.");