projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NewBranch.bjs
[gitlive]
/
NewBranch.vala
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
70d2ecc
..
0391249
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-738,8
+738,15
@@
public class NewBranch : Object
// user defined functions
public void updateState () {
-
-
+ var ticket_id = _this.ticketsel.selectedTicketId();
+
+ if (ticket_id == "") {
+ this.el.set_sensitive(false);
+ return;
+ }
+
+ this.el.set_sensitive(true);
+
}
}