From: James Turner Date: Thu, 24 Oct 2013 22:22:46 +0000 (+0100) Subject: Pause popup respects the preference. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=81e86f5b20ec0d390bee86c3a113eea0e0d2726a;p=flightgear.git Pause popup respects the preference. --- diff --git a/src/Main/fg_commands.cxx b/src/Main/fg_commands.cxx index 3849b5061..f98bf7e37 100644 --- a/src/Main/fg_commands.cxx +++ b/src/Main/fg_commands.cxx @@ -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 {