From 069b66ab5da66fb778e997617bed3c6ba23bb698 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 6 Dec 2022 23:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Network/fgcom.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Network/fgcom.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index cadc401..ea90719 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -641,6 +641,8 @@ void FGCom::valueChanged(SGPropertyNode *prop) // ensure that we are on the right channel by calling setupCommFrequency //fgSetString("/sim/screen/red","PTT按下,请讲..."); + SGPropertyNode_ptr args(new SGPropertyNode); + args->setStringValue("id", "ptt-press"); if (fgGetBool("/sim/view-name-popup")) { args->setStringValue("label", "PTT按下,请讲...");