diff --git a/gui/dialogs/property-browser.xml b/gui/dialogs/property-browser.xml index 762bc062d..ef8bc05aa 100644 --- a/gui/dialogs/property-browser.xml +++ b/gui/dialogs/property-browser.xml @@ -2,7 +2,6 @@ property-browser - property-browser vbox 3 @@ -199,7 +198,7 @@ update_interval = 0; if (find("--", dlgname) >= 0) { - props.globals.getNode("/sim/gui/dialogs", 1).removeChildren(dlgname); + dlg.getParent().removeChildren(dlgname); } else { dlg.getNode("last", 1).setValue(dir); }