blob: 2d7d183ce09984b3640380ea8524ee3e4422f860 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Index: g_readwrite.c
===================================================================
--- g_readwrite.c (revision 9740)
+++ g_readwrite.c (working copy)
@@ -705,7 +705,11 @@
{
/* if not an abstraction, reset title bar and directory */
if (!x->gl_owner)
+ {
canvas_rename(x, filename, dir);
+ /* update window list in case Save As changed the window name */
+ canvas_updatewindowlist();
+ }
post("saved to: %s/%s", dir->s_name, filename->s_name);
canvas_dirty(x, 0);
canvas_reload(filename, dir, &x->gl_gobj);
|