mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
gui/personalize.cpp: fix pin access in case personalize pin is off,
but items with enabled pincode present
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