[geary: 1/3] Fix "Sender name" couldn't be changed without editing the address
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary: 1/3] Fix "Sender name" couldn't be changed without editing the address
- Date: Wed, 20 Feb 2019 23:28:31 +0000 (UTC)
commit cb6611ea7058d3acfc0f67f281055f2a598a90c6
Author: Kristian Klausen <kristian klausen dk>
Date: Wed Feb 20 14:20:37 2019 +0100
Fix "Sender name" couldn't be changed without editing the address
Fix #226
src/client/accounts/accounts-editor-edit-pane.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/accounts/accounts-editor-edit-pane.vala
b/src/client/accounts/accounts-editor-edit-pane.vala
index 7136e52a..c64a8362 100644
--- a/src/client/accounts/accounts-editor-edit-pane.vala
+++ b/src/client/accounts/accounts-editor-edit-pane.vala
@@ -532,7 +532,7 @@ internal class Accounts.MailboxEditorPopover : EditorPopover {
}
private void on_activate() {
- if (this.address != "" && this.address_validator.is_valid) {
+ if (this.address_validator.state == Components.Validator.Validity.INDETERMINATE ||
this.address_validator.is_valid) {
activated();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]