From 4452337aa44e5d8deadfa159ded884e71aab0775 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 21 Sep 2007 00:26:57 +0000 Subject: [PATCH] Working on 1799250: After changing the filename, update the render settings with the new filename. git-svn-id: http://svn.voria.com/code@728 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/instance.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synfig-studio/trunk/src/gtkmm/instance.cpp b/synfig-studio/trunk/src/gtkmm/instance.cpp index 81d692c..2b3cf90 100644 --- a/synfig-studio/trunk/src/gtkmm/instance.cpp +++ b/synfig-studio/trunk/src/gtkmm/instance.cpp @@ -189,6 +189,10 @@ studio::Instance::save_as(const synfig::String &file_name) { if(synfigapp::Instance::save_as(file_name)) { + // after changing the filename, update the render settings with the new filename + list >::iterator iter; + for(iter=canvas_view_list().begin();iter!=canvas_view_list().end();iter++) + (*iter)->render_settings.set_entry_filename(); App::add_recent_file(file_name); return true; } -- 2.7.4