Skip to content
Browse files

[revert] - revert 9ee5f00 - restores the ability to logoff even if th…

…e profile window on startup is deactivated
  • Loading branch information...
1 parent f14f5a5 commit 3c166c80b2b6119188a9ec1cabae46affa9556ce @Memphiz Memphiz committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 xbmc/interfaces/Builtins.cpp
View
6 xbmc/interfaces/Builtins.cpp
@@ -1243,8 +1243,10 @@ int CBuiltins::Execute(const CStdString& execString)
}
else if (execute.Equals("system.logoff"))
{
- if (g_windowManager.GetActiveWindow() == WINDOW_LOGIN_SCREEN ||
- !g_settings.UsingLoginScreen())
+ // there was a commit from cptspiff here which was reverted
+ // for keeping the behaviour from Eden in Frodo - see
+ // git rev 9ee5f0047b
+ if (g_windowManager.GetActiveWindow() == WINDOW_LOGIN_SCREEN)
return -1;
g_application.StopPlaying();

0 comments on commit 3c166c8

Please sign in to comment.
Something went wrong with that request. Please try again.