fixed typo that disabled the start application button in the ui
authorLars Op den Kamp <lars@opdenkamp.eu>
Sun, 7 Oct 2012 19:05:26 +0000 (21:05 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sun, 7 Oct 2012 19:05:26 +0000 (21:05 +0200)
src/LibCecTray/controller/applications/ApplicationController.cs

index f36bd6ae7efaeda194fba55558400e6073fe26ba..7d0b23d3dc46fca2dc149f7725117a1b53eb4983 100644 (file)
@@ -208,7 +208,7 @@ namespace LibCECTray.controller.applications
         ApplicationRunningChanged(isRunning);
 
       _applicationRunning = isRunning;
-      UiControl.SetStartButtonEnabled(isRunning && !SuppressApplicationStart);
+      UiControl.SetStartButtonEnabled(!isRunning && !SuppressApplicationStart);
     }
     #endregion