Version: 2.0.4 OS: MS Windows When saving work from a new session into a .kst file, subsequent save operations require a filename+confirmation to overwrite. The filename should be requested only once. Reproducible: Always Steps to Reproduce: - start kst without any file (empty session) - load some vectors from an ASCII file into a couple of plots - click the save icon => you are prompted for a filename, click OK and the work is saved - add one plot - click on the save icon again Actual Results: You are prompted for a filename again, and need to confirm if you reselect the previously selected file Expected Results: The work gets saved into the file as it would if you had loaded the .kst upon starting kst.
SVN commit 1277942 by brisset: Make sure that the document state is set correctly also when saving to avoid asking the user again and again for a filename. This fixes the reported issue and I can't think of any negative side effect. Barth, can you review the change quickly? M +1 -1 document.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1277942