]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/metarproperties.cxx
Basics on catalog list model in the GUI.
[flightgear.git] / src / Environment / metarproperties.cxx
index 632bdefa4e2ee8b35f7d3aaa14d3572a7c137448..1ebdd33b0da805cc6f8ad59ea6513560b7fca24b 100644 (file)
@@ -190,6 +190,11 @@ MetarProperties::~MetarProperties()
   delete _magneticVariation;
 }
 
+void MetarProperties::invalidate()
+{
+  if( _metarValidNode->getBoolValue() )
+    _metarValidNode->setBoolValue(false);
+}
 
 static const double thickness_value[] = { 0, 65, 600, 750, 1000 };