sync
[gitlive] / NewBranch.vala
index 6a48613..74d09e0 100644 (file)
@@ -50,6 +50,7 @@ public class NewBranch : Object
         //listeners
         this.el.delete_event.connect( (self, event) => {
             this.el.hide();
+            this.running = false;
             return true; 
             //test  
         });
@@ -103,7 +104,8 @@ public class NewBranch : Object
         if (this.running) {
                return;
        }
-               GitMonitor.gitmonitor.stop();
+       this.running  = true;
+       GitMonitor.gitmonitor.stop();
        
         this.repo = repo;