Fix bug in base function - need to use the StorageOptions passed in instead of those stored in the OpenRocketDocument.

This commit is contained in:
Kevin Ruland 2012-07-25 17:39:45 +00:00 committed by U-WINDOWS-C28163E\Administrator
parent fddf6cc0c7
commit 6cf525467c

View File

@ -103,7 +103,7 @@ public class GeneralRocketSaver {
s = new ProgressOutputStream( s, estimatedSize, progress );
}
try {
save(dest.getName(), s, doc, doc.getDefaultStorageOptions());
save(dest.getName(), s, doc, opts);
} finally {
s.close();
}