From: dooglus Date: Fri, 21 Sep 2007 00:26:57 +0000 (+0000) Subject: Working on 1799250: After changing the filename, update the render settings with... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4452337aa44e5d8deadfa159ded884e71aab0775;p=synfig.git 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 --- 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; }