src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 11:57:55 +0000 (19:57 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 26 Feb 2015 11:57:55 +0000 (19:57 +0800)
src/Builder4/WindowState.vala

index ae3fed1..9545367 100644 (file)
@@ -489,7 +489,8 @@ public class WindowState : Object
             case State.LISTENER:
                 var ae =      this.left_tree.getActiveElement();
                 if (ae == null) {
-                    this
+                    this.state = this.oldstate;
+                    this.buttonShowHide();
                     return;
                 }
                 this.add_props.el.show_all();