Skip to content

Commit 91dadd6

Browse files
committed
fix property display refresh
was not refreshing on create
1 parent efec066 commit 91dadd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/properties.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,12 @@ properties_set_tilesource(Properties *p, Tilesource *tilesource)
237237
/* No need to ref ... the enclosing window holds a ref to us.
238238
*/
239239
p->tilesource = tilesource;
240-
241240
g_signal_connect_object(tilesource,
242241
"changed", G_CALLBACK(properties_tilesource_changed),
243242
p, 0);
243+
244+
// first refresh
245+
properties_refresh(p);
244246
}
245247

246248
static void

0 commit comments

Comments
 (0)