Fix new request warning in New IM dialog

Review Request #2358 — Created March 19, 2023 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

Setting the validator triggers the field's valid property notification, which triggers the group to refresh its validity, which fetches the valid property and runs the validator.

But the validator depends on the account field which hasn't been created yet, which causes a type-check warning.

So set the validator after all fields are made, and also change the data argument so the dependency is clearer.

Compiled, and opened the New IM dialog.

Commits

Files