mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -258,6 +258,7 @@ int CPersonalizeGui::exec(CMenuTarget* parent, const string & actionKey)
|
|||||||
|
|
||||||
if (!g_settings.easymenu && (is_pin_protected || hasPinItems())) {
|
if (!g_settings.easymenu && (is_pin_protected || hasPinItems())) {
|
||||||
setHint(LOCALE_PERSONALIZE_PINHINT); //from CPINProtection
|
setHint(LOCALE_PERSONALIZE_PINHINT); //from CPINProtection
|
||||||
|
is_pin_protected = true;
|
||||||
if (check())
|
if (check())
|
||||||
is_pin_protected = false;
|
is_pin_protected = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user