From 68a2e80cb1532ca26355da319c8f33e1cf49c734 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 2 Jul 2018 23:11:12 +0100 Subject: [PATCH] Add another human name for a state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found this in the Citation Bravo, missing ‘taxi’ --- src/GUI/QmlAircraftInfo.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GUI/QmlAircraftInfo.cxx b/src/GUI/QmlAircraftInfo.cxx index 93bf2a584..c4a32298e 100644 --- a/src/GUI/QmlAircraftInfo.cxx +++ b/src/GUI/QmlAircraftInfo.cxx @@ -145,6 +145,8 @@ QString humanNameFromStateTag(const std::string& tag) return QObject::tr("Automatic"); if (tag == "cruise") return QObject::tr("Cruise"); + if (tag == "taxi") + return QObject::tr("Ready to taxi"); qWarning() << Q_FUNC_INFO << "add for" << QString::fromStdString(tag); // no mapping, let's use the tag directly