Ensure Components.Validator::is-valid gets notify sigs emitted

This commit is contained in:
Michael Gratton 2019-11-20 14:44:17 +11:00
parent 89642c5283
commit c9fc877d12

View file

@ -206,6 +206,7 @@ public class Components.Validator : GLib.Object {
// updating the UI so listeners can update UI settings
// first if needed.
this.state = new_state;
notify_property("is-valid");
state_changed(reason, old_state);
if (new_state == Validity.VALID || reason != Trigger.CHANGED) {