Builder/LeftProps.js
authorAlan Knowles <alan@akkbhome.com>
Sat, 15 May 2010 06:36:33 +0000 (14:36 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sat, 15 May 2010 06:36:33 +0000 (14:36 +0800)
Builder/LeftProps.js

index e024fb2..30053b5 100755 (executable)
@@ -125,6 +125,9 @@ LeftProps = new XObject({
                     // pressed...
                     'button-press-event' : function(w, ev ){
                         // show the menu..
+                        if (!AddPropertyPopup.el) {
+                            AddPropertyPopup.init();
+                           }
                         AddPropertyPopup.el.set_screen(Gdk.Screen.get_default());
                         AddPropertyPopup.el.show_all();
                         AddPropertyPopup.el.popup(null, null, null, null, 3, ev.button.time);