Fix compile error. Non initialized variable.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / navigation-view / navigation-view-impl.cpp
index 1d15650..58913da 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -71,9 +71,11 @@ Toolkit::NavigationView NavigationView::New()
   return navigationView;
 }
 
-void NavigationView::OnStageConnection( int depth )
+void NavigationView::OnSceneConnection( int depth )
 {
-  Self().SetSensitive(true);
+  Self().SetProperty( Actor::Property::SENSITIVE,true);
+
+  Control::OnSceneConnection( depth );
 }
 
 void NavigationView::Push( Actor& actor )