From: Michael Rasmussen Date: Wed, 28 Mar 2018 11:06:26 +0000 (+0200) Subject: Adapt identical behaviour to native address book. See commit 47e0437b8b X-Git-Tag: 3.17.0~167 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=07b12c904194d30be8138ed4a1c975aba7d0aa44 Adapt identical behaviour to native address book. See commit 47e0437b8b Signed-off-by: Michael Rasmussen --- diff --git a/src/addressadd.c b/src/addressadd.c index 4430bafeb..3370ca77a 100644 --- a/src/addressadd.c +++ b/src/addressadd.c @@ -467,6 +467,9 @@ static void addressadd_load_data() { ADDRADD_COL_PTR, fi, -1); } + + if (gtk_tree_model_get_iter_first(model, &iter)) + gtk_tree_selection_select_iter(sel, &iter); } #endif