Builder3/Window.js
authorAlan Knowles <alan@roojs.com>
Fri, 8 Jun 2012 09:07:38 +0000 (17:07 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 8 Jun 2012 09:07:38 +0000 (17:07 +0800)
Builder3/Window.js

index 1c376ed..9d53286 100644 (file)
@@ -1622,8 +1622,12 @@ Window=new XObject({
                                                                     items : [
                                                                         {
                                                                             xtype: Gtk.TreeView,
+                                                                            loading : false,
                                                                             listeners : {
                                                                                 cursor_changed : function (self) {
+                                                                                    if (this.loading) {
+                                                                                        return;
+                                                                                    }
                                                                                     var ret = {};        
                                                                                     if (this.selection.count_selected_rows() < 1) {
                                                                                         //XN.get('Builder.LeftTree.model').