1
0
Fork 0

Pause popup respects the preference.

This commit is contained in:
James Turner 2013-10-24 23:22:46 +01:00
parent 6332693ae5
commit 81e86f5b20

View 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 {