display the "tv not responding" warning on top of other windows
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 13 Dec 2013 09:52:46 +0000 (10:52 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 13 Dec 2013 09:52:46 +0000 (10:52 +0100)
src/LibCecTray/controller/actions/ConnectToDevice.cs

index 6a832c5f9096c48b8ce71b1b9181dbfb3cf687a6..fa785916b1c610abd29c5916ff7418fce2f2b93f 100644 (file)
@@ -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);