From 82e95e0dc77ee1cc34acbbac29b71c93a8f9fe48 Mon Sep 17 00:00:00 2001 From: Denis Dolzhenko Date: Wed, 28 Sep 2016 12:35:13 +0300 Subject: [PATCH] Fixed: animation of elm_check in settings. Change-Id: Ibe6859fab893311970ab185ed4ccf6b6d485fdfa Signed-off-by: Denis Dolzhenko --- src/Settings/View/src/SettingsListViewItem.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Settings/View/src/SettingsListViewItem.cpp b/src/Settings/View/src/SettingsListViewItem.cpp index 46de975..1ace394 100644 --- a/src/Settings/View/src/SettingsListViewItem.cpp +++ b/src/Settings/View/src/SettingsListViewItem.cpp @@ -55,8 +55,11 @@ void SettingsListViewItem::disabledCheckButton(bool disabled) void SettingsListViewItem::setCheckButtonState(bool state) { - m_CheckButtonState = state; - update(); + if(m_CheckButtonState != state) + { + m_CheckButtonState = state; + update(); + } } void SettingsListViewItem::changeCheckButtonState() -- 2.7.4