From: Lars Op den Kamp Date: Fri, 13 Dec 2013 09:52:46 +0000 (+0100) Subject: display the "tv not responding" warning on top of other windows X-Git-Tag: upstream/2.2.0~1^2~3^2~11 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=0b558f37cb9865e01e42aa617d89f3dd10362744 display the "tv not responding" warning on top of other windows --- diff --git a/src/LibCecTray/controller/actions/ConnectToDevice.cs b/src/LibCecTray/controller/actions/ConnectToDevice.cs index 6a832c5..fa78591 100644 --- a/src/LibCecTray/controller/actions/ConnectToDevice.cs +++ b/src/LibCecTray/controller/actions/ConnectToDevice.cs @@ -110,7 +110,7 @@ namespace LibCECTray.controller.actions if (!_lib.IsActiveDevice(CecLogicalAddress.Tv)) { - MessageBox.Show(Resources.alert_tv_poll_failed, Resources.cec_alert, MessageBoxButtons.OK, MessageBoxIcon.Warning); + MessageBox.Show(Resources.alert_tv_poll_failed, Resources.cec_alert, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly); } SendEvent(UpdateEventType.ProgressBar, 100);