bump to 2.0.4. dropped obsolete cec-config
[deb_libcec.git] / src / LibCecTray / controller / applications / ApplicationControllerUI.cs
index de2b97ec954d15d59afd49b5d0968c101a54e213..7ba18f0292cf21bd3dae61eae4fb8523a5277bc5 100644 (file)
@@ -53,6 +53,8 @@ namespace LibCECTray.controller.applications
       _controller.ControlApplication.ReplaceControls(this, Controls, cbControlApplication);
       _controller.SuppressKeypressWhenSelected.ReplaceControls(this, Controls, cbSuppressKeypress);
       _controller.StartFullScreen.ReplaceControls(this, Controls, cbStartFullScreen);
+
+      bConfigure.Enabled = _controller.CanConfigureProcess;
     }
 
     public override sealed string Text
@@ -76,7 +78,7 @@ namespace LibCECTray.controller.applications
 
     public override void SetStartButtonEnabled(bool val)
     {
-      SetControlEnabled(bStartApplication, !_controller.IsRunning() && !_controller.SuppressApplicationStart && val);
+      SetControlEnabled(bStartApplication, val);
     }
 
     private readonly ApplicationController _controller;