From 0d1358303a459afe8006e952e25ac6bece27b606 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Sun, 3 Aug 2014 11:03:23 +0200 Subject: [PATCH] ag_app_import_chart() now saves the chart immediately after importing --- src/ag-app.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ag-app.c b/src/ag-app.c index 51f8781..fbffba9 100644 --- a/src/ag-app.c +++ b/src/ag-app.c @@ -148,6 +148,7 @@ ag_app_import_chart(AgApp *app, GFile *file) window = ag_app_create_window(app); ag_window_set_chart(AG_WINDOW(window), chart); ag_window_update_from_chart(AG_WINDOW(window)); + g_action_group_activate_action(G_ACTION_GROUP(window), "save", NULL); ag_window_change_tab(AG_WINDOW(window), "chart"); }