[Kst] branches/work/kst/portto4/kst/src/libkstapp
Nicolas Brisset
nicolas.brisset at eurocopter.com
Fri Feb 3 16:35:35 UTC 2012
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?
BUG: 292907
M +1 -1 document.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/document.cpp #1277941:1277942
@@ -131,7 +131,7 @@
xml.writeEndDocument();
setChanged(false);
-
+ _isOpen = true; // Set _isOpen when saving into a new file so that kst does not ask for the filename again
return true;
}
More information about the Kst
mailing list