From cd85e0b765f1bdad5bbd54a52a5aee0e4770af66 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 17 May 2010 12:42:37 +0800 Subject: [PATCH] Builder/LeftPanel.js --- Builder/LeftPanel.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Builder/LeftPanel.js b/Builder/LeftPanel.js index 8b65c1b7d..46903ea98 100755 --- a/Builder/LeftPanel.js +++ b/Builder/LeftPanel.js @@ -281,7 +281,7 @@ LeftPanel = new XObject({ /** * start editing path (or selected if not set..) */ - startEditing : function(path) + startEditing : function(path, col) { var tp; @@ -293,6 +293,13 @@ LeftPanel = new XObject({ s.get_selected(this.el, iter); tp = this.el.get_path(iter); } + colObj = false; + if (typeof(col) == 'undefined') { + colObj = (!k.length || k == '|') ? + LeftPanel.propertyColumn : LeftPanel.editableColumn; + } else { + colObj = col ? LeftPanel.propertyColumn : LeftPanel.editableColumn; + } // iter now has row... GLib.timeout_add(0, 100, function() { var col = (!k.length || k == '|') ? -- 2.39.2