gui/personalize.cpp: fix pin access in case personalize pin is off,

but items with enabled pincode present


Origin commit data
------------------
Commit: 3a5d58f139
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-06 (Wed, 06 Nov 2013)
This commit is contained in:
[CST] Focus
2013-11-06 14:13:19 +04:00
parent 357aa31bc8
commit 6bdbb8d66b

View File

@@ -258,6 +258,7 @@ int CPersonalizeGui::exec(CMenuTarget* parent, const string & actionKey)
if (!g_settings.easymenu && (is_pin_protected || hasPinItems())) {
setHint(LOCALE_PERSONALIZE_PINHINT); //from CPINProtection
is_pin_protected = true;
if (check())
is_pin_protected = false;
}