display the "tv not responding" warning on top of other windows
[deb_libcec.git] / 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);