mirror of https://github.com/KLayout/klayout.git
Bugfix: "save as" indicated "file was updated"
After "save as", the file was considered outdated and KLayout offered to reload it. Now, KLayout is silent.
This commit is contained in:
parent
1f60e7729e
commit
85f048dd6d
|
|
@ -264,7 +264,9 @@ LayoutHandle::save_as (const std::string &fn, tl::OutputStream::OutputStreamMode
|
||||||
file_watcher ().remove_file (filename ());
|
file_watcher ().remove_file (filename ());
|
||||||
|
|
||||||
rename (filename_for_caption (fn));
|
rename (filename_for_caption (fn));
|
||||||
set_filename (fn);
|
|
||||||
|
// NOTE: we don't use set_filename since this would re-attach the file watcher
|
||||||
|
m_filename = fn;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue