MergeBranch.bjs
[gitlive] / MergeBranch.vala
index 8934219..5eec338 100644 (file)
@@ -140,11 +140,21 @@ public class MergeBranch : Object
         this.repo = repo;
         
        
+       Timeout.add_seconds(1, () => {
+               
+               // if we are not working on a ticket, then we should be able to pick one?
+               _this.dbmodel.loadTickets();
+               _this.actionmodel.loadActions();
+               _this.view.loadTicket(ticket.id);
+               _this.spinner.el.stop();
+               _this.spinner.el.hide();        
     
-       _this.dbmodel.loadTickets();
-       _this.actionmodel.loadActions();
-       _this.view.loadTicket(ticket.id);
-    
+               this.table.el.show();
+               return false;
+       });
+       
+       this.el.run();
+        
     }
     public class Xcls_Box2 : Object
     {