summaryrefslogtreecommitdiff
path: root/examples/tooltip
diff options
context:
space:
mode:
authorRichard Huang <r.huang@samsung.com>2020-08-25 10:34:50 +0100
committerRichard Huang <r.huang@samsung.com>2020-08-25 10:35:03 +0100
commit6d69b52359f4a6ccaea9c9c517b09684081052f0 (patch)
treedc5529b4b3dca13d78836b713b82cb7f469c7746 /examples/tooltip
parent3f7382d5b648974e4d3f9f6db2f3ce14fb01885b (diff)
downloaddali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.tar.gz
dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.tar.bz2
dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.zip
KeyEvent class pimpling
Change-Id: I9911157a22a5fc941c7fd2d5aff838131f328dd1
Diffstat (limited to 'examples/tooltip')
-rw-r--r--examples/tooltip/tooltip-example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tooltip/tooltip-example.cpp b/examples/tooltip/tooltip-example.cpp
index 6d599f6b..cbd6667d 100644
--- a/examples/tooltip/tooltip-example.cpp
+++ b/examples/tooltip/tooltip-example.cpp
@@ -117,7 +117,7 @@ private:
*/
void OnKeyEvent( const KeyEvent& event )
{
- if( event.state == KeyEvent::Down )
+ if( event.GetState() == KeyEvent::Down )
{
if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{