From 14a5f38be2dfd177fe7ebcc7d09a3a36c48416c4 Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 14 Nov 2007 20:13:35 +0000 Subject: [PATCH] make gui.property_browser() not only digest property paths, but also props.Node class hashes --- Nasal/gui.nas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Nasal/gui.nas b/Nasal/gui.nas index a092856fe..7d5413a37 100644 --- a/Nasal/gui.nas +++ b/Nasal/gui.nas @@ -315,6 +315,8 @@ var FileSelector = { # Open property browser with given target path. # var property_browser = func(dir = "/") { + if (isa(dir, props.Node)) + dir = dir.getPath(); var dlgname = "property-browser"; foreach (var module; keys(globals)) { if (find("__dlg:" ~ dlgname, module) == 0) {