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

but items with enabled pincode present


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3a5d58f139
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-06 (Wed, 06 Nov 2013)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-11-06 14:13:19 +04:00
parent ced560668b
commit f41bd44e3b

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;
}