]> git.mxchange.org Git - flightgear.git/commitdiff
Pause popup respects the preference.
authorJames Turner <zakalawe@mac.com>
Thu, 24 Oct 2013 22:22:46 +0000 (23:22 +0100)
committerJames Turner <zakalawe@mac.com>
Thu, 24 Oct 2013 22:23:01 +0000 (23:23 +0100)
src/Main/fg_commands.cxx

index 3849b5061764c6b77c69d20c8b03e5d9e2d65f7d..f98bf7e372111e0fdbef93b1cd51ed77c65bf9d7 100644 (file)
@@ -237,7 +237,7 @@ do_pause (const SGPropertyNode * arg)
   
     SGPropertyNode_ptr args(new SGPropertyNode);
     args->setStringValue("id", "sim-pause");
-    if (!paused) {
+    if (!paused && fgGetBool("/sim/view-name-popup")) {
       args->setStringValue("label", "Simulation is paused");
       globals->get_commands()->execute("show-message", args);
     } else {