Renamed KeyEvent enum values to comply with coding standards.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / text-controls / text-editor-impl.cpp
index 3449e00..adfd0ae 100644 (file)
@@ -1597,7 +1597,7 @@ bool TextEditor::OnKeyEvent( const KeyEvent& event )
   if( Dali::DALI_KEY_ESCAPE == event.GetKeyCode() && mController->ShouldClearFocusOnEscape() )
   {
     // Make sure ClearKeyInputFocus when only key is up
-    if( event.GetState() == KeyEvent::Up )
+    if( event.GetState() == KeyEvent::UP )
     {
       ClearKeyInputFocus();
     }