- simplification: use gui.dialog_update() command instead of
fgcommand("dialog-update", props.Node.new({})); - remove lots of trailing spaces
This commit is contained in:
parent
e092ee9abc
commit
397ee8296f
2 changed files with 13 additions and 18 deletions
|
@ -32,8 +32,7 @@
|
|||
{
|
||||
setprop("/sim/multiplay/chat", lchat);
|
||||
setprop("/sim/multiplay/chat-compose", "");
|
||||
fgcommand("dialog-update", props.Node.new({"object-name": "compose",
|
||||
"dialog-name": "chat"}));
|
||||
gui.dialog_update("chat", "compose");
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
|
|
|
@ -53,15 +53,13 @@
|
|||
{
|
||||
setprop("/sim/multiplay/chat", lchat);
|
||||
setprop("/sim/multiplay/chat-compose", "");
|
||||
fgcommand("dialog-update", props.Node.new({"object-name": "compose",
|
||||
"dialog-name": "chat-full"}));
|
||||
gui.dialog_update("chat-full", "compose");
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
|
||||
<text>
|
||||
<label></label>
|
||||
</text>
|
||||
|
@ -91,8 +89,6 @@
|
|||
</binding>
|
||||
</button>
|
||||
|
||||
|
||||
|
||||
<empty><stretch>true</stretch></empty>
|
||||
</group>
|
||||
</PropertyList>
|
||||
|
|
Loading…
Add table
Reference in a new issue