X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=NewBranch.vala;h=16ba8caedb1ebd1b70ebea0b9160c1ec5815538a;hp=70d2ecc6d885c4fdbd198c59e8fae1fe2488f030;hb=4078296052c522966e955e178a456cb662e68f23;hpb=5eafd9c5c4ba4ea9bdc4ad0dddb1e34627415c85 diff --git a/NewBranch.vala b/NewBranch.vala index 70d2ecc6..16ba8cae 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -739,7 +739,15 @@ public class NewBranch : Object public void updateState () { - + if (_this.actionsel.selectedAction() == "") { + // need to select an action.. + this.el.set_sensitive(false); + return; + + + } + this.el.set_sensitive(true); + return; } }