[pvr] fix: password prompt appears twice if set icon in channel manager
authorxhaggi <sascha.woo@gmail.com>
Mon, 10 Mar 2014 22:19:39 +0000 (23:19 +0100)
committerxhaggi <sascha.woo@gmail.com>
Mon, 10 Mar 2014 22:31:28 +0000 (23:31 +0100)
If masterlock code is set and an user wants to change the channel icon
in channel manager the password dialogs appears twice.

xbmc/pvr/dialogs/GUIDialogPVRChannelManager.cpp

index 7b623a9..5f70aa0 100644 (file)
@@ -312,8 +312,6 @@ bool CGUIDialogPVRChannelManager::OnClickButtonChannelLogo(CGUIMessage &message)
     return false;
   if (CProfilesManager::Get().GetCurrentProfile().canWriteSources() && !g_passwordManager.IsProfileLockUnlocked())
     return false;
-  else if (!g_passwordManager.IsMasterLockUnlocked(true))
-    return false;
 
   // setup our thumb list
   CFileItemList items;