diff --git a/ChangeLog b/ChangeLog index 9cd76669..97f9ba23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ Add D2 keywords. * tagmanager/c.c: Parse Vala functions with contracts (#3080232). + * src/project.c: + Fix saving project indent prefs straight after using project + properties. 2010-10-16 Enrico Tröger diff --git a/src/project.c b/src/project.c index 303136ad..2402a508 100644 --- a/src/project.c +++ b/src/project.c @@ -582,7 +582,6 @@ static void show_project_properties(gboolean show_build) g_signal_emit_by_name(geany_object, "project-dialog-confirmed", e->notebook); write_config(TRUE); ui_set_statusbar(TRUE, _("Project \"%s\" saved."), app->project->name); - stash_group_update(indent_group, e->dialog); break; } } @@ -757,6 +756,8 @@ static gboolean update_config(const PropertyDialogElements *e) gtk_text_buffer_get_end_iter(buffer, &end); setptr(p->description, g_strdup(gtk_text_buffer_get_text(buffer, &start, &end, FALSE))); + stash_group_update(indent_group, e->dialog); + /* read the project build menu */ oldvalue = ft ? ft->projfilecmds : NULL; build_read_project(ft, e->build_properties);