commit 07b12c904194d30be8138ed4a1c975aba7d0aa44
parent 8bee5dbd6bc4843e2daecab21f0f5b20404f95b8
Author: Michael Rasmussen <mir@datanom.net>
Date: Wed, 28 Mar 2018 13:06:26 +0200
Adapt identical behaviour to native address book. See commit 47e0437b8b
Signed-off-by: Michael Rasmussen <mir@datanom.net>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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