[geary/mjog/636-add-account-name-validation: 1/3] Ensure Components.Validator::is-valid gets notify sigs emitted



commit c9fc877d1242dae8a64d3a097a3f64d98f79d837
Author: Michael Gratton <mike vee net>
Date:   Wed Nov 20 14:44:17 2019 +1100

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

 src/client/components/components-validator.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/client/components/components-validator.vala b/src/client/components/components-validator.vala
index 199751cd..3e0a7eb8 100644
--- a/src/client/components/components-validator.vala
+++ b/src/client/components/components-validator.vala
@@ -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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]