Skip to content

Commit

Permalink
Don't show image lib when lua adds a button
Browse files Browse the repository at this point in the history
This made dt to always show the selected image[s] lib on startup, no
matter what's the expanded state.
  • Loading branch information
houz committed Nov 29, 2015
1 parent e81ee5b commit fafe77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static int lua_register_action(lua_State *L)
data->key = strdup(key);
data->self = self;
g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(lua_button_clicked), data);
gtk_widget_show_all(self->widget);
gtk_widget_show_all(button);
return 0;
}

Expand Down

0 comments on commit fafe77f

Please sign in to comment.