Pause popup respects the preference.
This commit is contained in:
parent
6332693ae5
commit
81e86f5b20
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue