fixed typo that disabled the start application button in the ui
[deb_libcec.git] / 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