From 95ce78bb00574ca0c12cc6ab3352e961e8258eac Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 3 Nov 2019 15:13:44 -0800 Subject: [PATCH] Don't navigate to a host that is known to be offline --- Limelight/ViewControllers/MainFrameViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index a2c0992..aa81d9b 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -833,7 +833,7 @@ static NSMutableSet* hostList; delegate.shortcutCompletionHandler = nil; } - if (matchingHost != nil && _selectedHost != matchingHost) { + if (matchingHost != nil && _selectedHost != matchingHost && matchingHost.state != StateOffline) { // Navigate to the host page [self hostClicked:matchingHost view:nil]; }