reload XML dialogs on gui-reinit
This commit is contained in:
parent
879620694e
commit
44bb7bb192
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ Dialog = {
|
|||
if (m.prop.getName() != "dialog") {
|
||||
die("Dialog class: node name must end with '/dialog'");
|
||||
}
|
||||
m.load();
|
||||
m.listener = setlistener("/sim/signals/reinit-gui", func { m.load () }, 1);
|
||||
return m;
|
||||
},
|
||||
# doesn't need to be called explicitly, but can be used to force a reload
|
||||
|
|
Loading…
Add table
Reference in a new issue