RepoStatusPopover.bjs
[gitlive] / RepoStatusPopover.vala
index 85ab04d..1a226a8 100644 (file)
@@ -242,6 +242,7 @@ public class RepoStatusPopover : Object
 
             //listeners
             this.el.clicked.connect( () => {
+               _this.el.hide();
                _this.repo.git({ "commit" , "-a" ,"-m", "Uncommited changes synced" });
                _this.repo.push();
                _this.repo.loadStatus();
@@ -249,7 +250,7 @@ public class RepoStatusPopover : Object
                 _this.diff_view.el.get_buffer().set_text(_this.repo.git_diff);
                 _this.status_view.el.get_buffer().set_text(_this.repo.git_status);
                 
-               _this.el.hide();
+            
                Clones.singleton().reposStore.load();
                 
             });