aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/menus/gal-view-instance.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index fef74aab16..0d182608c5 100644
--- a/widgets/menus/gal-view-instance.c
+++ b/widgets/menus/gal-view-instance.c
@@ -394,8 +394,9 @@ gal_view_instance_set_current_view_id (GalViewInstance *instance, const gchar *v
connect_view (instance, gal_view_clone (view));
}
- save_current_view (instance);
- gal_view_instance_changed(instance);
+ if (instance->loaded)
+ save_current_view (instance);
+ gal_view_instance_changed (instance);
}
GalView *