1
0
Fork 0

allow to add properties to the live display with --prop:live=/some/property

This commit is contained in:
mfranz 2008-08-05 11:49:13 +00:00
parent b360c2ad62
commit 1f65d80475

View file

@ -384,6 +384,10 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
}
});
foreach (var n; props.globals.getChildren("live"))
property_display.add(n.getValue());
props.globals.removeChildren("live");
setlistener("/sim/gui/current-style", func {
var theme = getprop("/sim/gui/current-style");
theme_font = getprop("/sim/gui/style[" ~ theme ~ "]/fonts/message-display/name");