Skip to content

Commit fafe77f

Browse files
committed
Don't show image lib when lua adds a button
This made dt to always show the selected image[s] lib on startup, no matter what's the expanded state.
1 parent e81ee5b commit fafe77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/image.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ static int lua_register_action(lua_State *L)
370370
data->key = strdup(key);
371371
data->self = self;
372372
g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(lua_button_clicked), data);
373-
gtk_widget_show_all(self->widget);
373+
gtk_widget_show_all(button);
374374
return 0;
375375
}
376376

0 commit comments

Comments
 (0)