Bug 292907

Summary: Kst keeps asking for confirmation of the file name
Product: [Applications] kst Reporter: Nicolas Brisset <nicolas.brisset>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.0.4   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Nicolas Brisset 2012-01-30 20:51:56 UTC
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.
Comment 1 Nicolas Brisset 2012-02-03 16:35:41 UTC
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