From 6906ce40fd6f8caffaa309f438a8f8f8530b6ea6 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 28 May 2018 22:42:20 +0200 Subject: [PATCH] Launcher: show navaid diagram for lat-lon position Another change broke showing the navaid diagram when entering a lat,lon position in the launcher --- src/GUI/LocationWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/LocationWidget.cxx b/src/GUI/LocationWidget.cxx index 588166655..a1cabf96e 100644 --- a/src/GUI/LocationWidget.cxx +++ b/src/GUI/LocationWidget.cxx @@ -856,7 +856,7 @@ void LocationWidget::onSearchComplete() void LocationWidget::onLocationChanged() { bool locIsAirport = FGPositioned::isAirportType(m_location.ptr()); - if (!m_location) { + if (!m_location && !m_locationIsLatLon) { onBackToSearch(); return; }