summaryrefslogtreecommitdiff
path: root/builder
diff options
context:
space:
mode:
Diffstat (limited to 'builder')
-rw-r--r--builder/dali-builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/dali-builder.cpp b/builder/dali-builder.cpp
index 2ffdaaa4..f264cedb 100644
--- a/builder/dali-builder.cpp
+++ b/builder/dali-builder.cpp
@@ -280,7 +280,7 @@ private:
// Process Key events to Quit on back-key
void OnKeyEvent( const KeyEvent& event )
{
- if( event.GetState() == KeyEvent::Down )
+ if( event.GetState() == KeyEvent::DOWN )
{
if( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{