Test for blocked ports when adding a PC fails

This commit is contained in:
Cameron Gutman committed 2020-08-08 18:11:25 -07:00
1 parent ec17623400
commit ad08440023
3 files changed
+18 -7

No files matched your search

+9 -2
View File
@@ -58,11 +58,18 @@ CenteredGridView {
}
}
function addComplete(success)
function addComplete(success, detectedPortBlocking)
{
if (!success) {
errorDialog.text = "Unable to connect to the specified PC."
errorDialog.helpText = "Click the Help button for possible solutions."
if (detectedPortBlocking) {
errorDialog.text += "\n\nThis PC's Internet connection is blocking Moonlight. Streaming over the Internet may not work while connected to this network."
}
else {
errorDialog.helpText = "Click the Help button for possible solutions."
}
errorDialog.open()
}
}