projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bug in last commit - only hide branch if everything is ok
[gitlive]
/
NewBranch.vala
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
1a3a079
..
03e56b9
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-59,11
+59,7
@@
public class NewBranch : Object
this.el.response.connect( (self, response_id) => {
GLib.debug("got %d", (int) response_id);
this.el.response.connect( (self, response_id) => {
GLib.debug("got %d", (int) response_id);
- if (response_id < 1) {
- _this.el.hide();
- this.running = false;
- return;
- }
+
@@
-83,6
+79,14
@@
public class NewBranch : Object
return;
}
return;
}
+
+ if (response_id < 1) {
+ _this.el.hide();
+ this.running = false;
+ return;
+ }
+
+
if (this.repo != null) {
var bn = _this.name.el.get_text();
if (this.repo != null) {
var bn = _this.name.el.get_text();