Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…e profile window on startup is deactivated
  • Loading branch information...
commit 3c166c80b2b6119188a9ec1cabae46affa9556ce 1 parent f14f5a5
Memphiz Memphiz authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 xbmc/interfaces/Builtins.cpp
6 xbmc/interfaces/Builtins.cpp
View
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.