Uncommited changes synced
[gitlive] / Ticket.vala
index 9857b7f..3432d9b 100644 (file)
@@ -83,7 +83,7 @@ public class Ticket : Object
                if (this.repo != null) {
                        NewBranch.singleton().show(this.repo, new Gee.ArrayList<GitMonitorQueue>(), tid);
                }
-                
+               this.el.hide();
         
                 
         });
@@ -120,7 +120,19 @@ public class Ticket : Object
            curproj = RooTicket.singleton().getProjectByRepo(this.repo);
         }
        _this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
-        
+        if (curproj != null) {
+     
+               
+               var rt = RooTicket.singleton();
+               rt.loadProjectOptions(curproj.id);
+               
+               _this.msmodel.loadMilestones();
+               _this.primodel.loadPriorities();
+               _this.sevmodel.loadSeverities();
+               _this.clmodel.loadClassifications();    
+               _this.devmodel.loadDevelopers();        
+               
+        }
      
        this.el.run();