Fixed minor issue with focus when switching between tabs 62/95062/3
authorAleksandr Sapozhnik <a.sapozhnik@samsung.com>
Wed, 2 Nov 2016 07:49:33 +0000 (09:49 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 2 Nov 2016 13:56:52 +0000 (06:56 -0700)
Change-Id: I5c59017ac1d2df76ec5e86e868a83da68abae244
Signed-off-by: Aleksandr Sapozhnik <a.sapozhnik@samsung.com>
lib-contacts/src/Contacts/List/ListView.cpp

index d7509ec..1b3377e 100644 (file)
@@ -187,7 +187,9 @@ void ListView::onNavigation(bool isCurrent)
        updateAddButton();
        setUpdateEnabled(isCurrent);
 
-       elm_object_focus_set(m_Content, EINA_TRUE);
+       if (isCurrent) {
+               elm_object_focus_set(m_Content, EINA_TRUE);
+       }
 }
 
 bool ListView::onBackPressed()