[geary/mjog/636-add-account-name-validation: 3/3] Manually pre-validate default name in Accounts.EditorAddPane
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/636-add-account-name-validation: 3/3] Manually pre-validate default name in Accounts.EditorAddPane
- Date: Wed, 20 Nov 2019 03:52:51 +0000 (UTC)
commit dafeed7667c85cfd3d60a14804321622533549ee
Author: Michael Gratton <mike vee net>
Date: Wed Nov 20 14:46:19 2019 +1100
Manually pre-validate default name in Accounts.EditorAddPane
Fixes #636
src/client/accounts/accounts-editor-add-pane.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/accounts/accounts-editor-add-pane.vala
b/src/client/accounts/accounts-editor-add-pane.vala
index d565930d..8932d8c3 100644
--- a/src/client/accounts/accounts-editor-add-pane.vala
+++ b/src/client/accounts/accounts-editor-add-pane.vala
@@ -560,7 +560,7 @@ private class Accounts.NameRow : EntryRow {
if (this.value.text != "") {
// Validate if the string is non-empty so it will be good
// to go from the start
- this.value.activate();
+ this.validator.validate();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]