diff -r ce63ebb51da4 -r 6345461600d7 Server/MainForm.cs --- a/Server/MainForm.cs Sun Jul 17 19:35:29 2016 +0200 +++ b/Server/MainForm.cs Mon Jul 18 15:11:33 2016 +0200 @@ -1145,6 +1145,7 @@ checkBoxCecEnabled.Checked = Properties.Settings.Default.CecEnabled; checkBoxCecMonitorOn.Checked = Properties.Settings.Default.CecMonitorOn; checkBoxCecMonitorOff.Checked = Properties.Settings.Default.CecMonitorOff; + checkBoxCecReconnectToPowerTv.Checked = Properties.Settings.Default.CecReconnectToPowerTv; comboBoxHdmiPort.SelectedIndex = Properties.Settings.Default.CecHdmiPort - 1; //Mini Display settings @@ -2533,6 +2534,14 @@ ResetCec(); } + private void checkBoxCecReconnectToPowerTv_CheckedChanged(object sender, EventArgs e) + { + Properties.Settings.Default.CecReconnectToPowerTv = checkBoxCecReconnectToPowerTv.Checked; + Properties.Settings.Default.Save(); + // + ResetCec(); + } + /// /// /// @@ -2551,7 +2560,8 @@ iCecManager.Start(Handle, "CEC", Properties.Settings.Default.CecHdmiPort, Properties.Settings.Default.CecMonitorOn, - Properties.Settings.Default.CecMonitorOff); + Properties.Settings.Default.CecMonitorOff, + Properties.Settings.Default.CecReconnectToPowerTv); } } @@ -2559,5 +2569,7 @@ { StartIdleClient(); } + + } }