X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2FLibCecTray%2Fcontroller%2Fapplications%2FApplicationControllerUI.cs;h=7ba18f0292cf21bd3dae61eae4fb8523a5277bc5;hb=0c271bd0fc05728d0dd90065a064737a979f50d3;hp=de2b97ec954d15d59afd49b5d0968c101a54e213;hpb=f017f3c49b9136fbffe49fa3eaf372c51617140d;p=deb_libcec.git diff --git a/src/LibCecTray/controller/applications/ApplicationControllerUI.cs b/src/LibCecTray/controller/applications/ApplicationControllerUI.cs index de2b97e..7ba18f0 100644 --- a/src/LibCecTray/controller/applications/ApplicationControllerUI.cs +++ b/src/LibCecTray/controller/applications/ApplicationControllerUI.cs @@ -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;