aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index f2eb825e70..28443887f5 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -2143,7 +2143,8 @@ fill_in_field(EContactEditor *editor, char *id, char *value)
if (E_IS_URL_ENTRY (widget))
widget = e_url_entry_get_entry (E_URL_ENTRY (widget));
- else if (GTK_IS_TEXT_VIEW (widget)) {
+
+ if (GTK_IS_TEXT_VIEW (widget)) {
if (value)
gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (widget)),
value, strlen (value));