commit 1951a3c95326b63c4ddcbd1136e1e0f3c5c0db2a
parent a9c2aa1702119098180150dcc5bc84f3f3970c2f
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
@@ -466,6 +466,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