X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Ticket.vala;h=7c62b9497dc4f5ae9100a39cc60b8ae4e4823c21;hb=84dd4f05e954efd7afa2735662d9e4660b3b6ddf;hp=4ab9edc9440b300ec31d78f0ce69ae307051a1b4;hpb=c088050218954ab41eb2faba3ba4093fe89f7ec6;p=gitlive diff --git a/Ticket.vala b/Ticket.vala index 4ab9edc9..7c62b949 100644 --- a/Ticket.vala +++ b/Ticket.vala @@ -1202,9 +1202,9 @@ public class Ticket : Object invalid = true; } - _this.summary.el.get_style_context().remove_class("warning"); - if (_this.summary.el.buffer.text == "") { - _this.summary.el.get_style_context().add_class("warning"); + _this.description.el.get_style_context().remove_class("warning"); + if (_this.description.el.buffer.text == "") { + _this.description.el.get_style_context().add_class("warning"); invalid = true; }