From 4c7837ac1c7810fb3a65d5f3015cdc02ce489ebb Mon Sep 17 00:00:00 2001 From: zhongjin Date: Wed, 7 Dec 2022 00:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/GUI/gui.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/GUI/gui.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GUI/gui.cxx b/src/GUI/gui.cxx index 9ba51ad..b16b165 100644 --- a/src/GUI/gui.cxx +++ b/src/GUI/gui.cxx @@ -223,7 +223,10 @@ void syncPausePopupState() SGPropertyNode_ptr args(new SGPropertyNode); args->setStringValue("id", "sim-pause"); if (paused && fgGetBool("/sim/view-name-popup")) { - args->setStringValue("label", "Simulation is paused"); + //args->setStringValue("label", "Simulation is paused"); + args->setStringValue("label", "平台暂停,按P键继续"); + + globals->get_commands()->execute("show-message", args, nullptr); } else { globals->get_commands()->execute("clear-message", args, nullptr);