Commit db35c6f1 authored by James Westman's avatar James Westman Committed by Alberto Fanjul
Browse files

GladePopup: Clear add item when adding as toplevel

parent 58285e64
......@@ -77,7 +77,8 @@ glade_popup_widget_add_cb (GtkMenuItem *item, RootAddData *data)
static void
glade_popup_root_add_cb (GtkMenuItem *item, RootAddData *data)
{
glade_command_create (data->adaptor, NULL, NULL, data->project);
if (glade_command_create (data->adaptor, NULL, NULL, data->project))
glade_project_set_add_item (data->project, NULL);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment