Skip to content
This repository
Browse code

[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 authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  xbmc/interfaces/Builtins.cpp
6  xbmc/interfaces/Builtins.cpp
@@ -1243,8 +1243,10 @@ int CBuiltins::Execute(const CStdString& execString)
1243 1243
   }
1244 1244
   else if (execute.Equals("system.logoff"))
1245 1245
   {
1246  
-    if (g_windowManager.GetActiveWindow() == WINDOW_LOGIN_SCREEN ||
1247  
-        !g_settings.UsingLoginScreen())
  1246
+    // there was a commit from cptspiff here which was reverted
  1247
+    // for keeping the behaviour from Eden in Frodo - see
  1248
+    // git rev 9ee5f0047b
  1249
+    if (g_windowManager.GetActiveWindow() == WINDOW_LOGIN_SCREEN)
1248 1250
       return -1;
1249 1251
 
1250 1252
     g_application.StopPlaying();

0 notes on commit 3c166c8

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