diff --git a/src/drawshape/cdrawparamsigleton.cpp b/src/drawshape/cdrawparamsigleton.cpp index 7c880471..e36b656a 100644 --- a/src/drawshape/cdrawparamsigleton.cpp +++ b/src/drawshape/cdrawparamsigleton.cpp @@ -227,8 +227,10 @@ bool PageContext::save(const QString &file) if (page() != nullptr && page()->borad() != nullptr) { QFileInfo info(filePath); if ("ddf" == info.suffix().toLower()) { + _dirty = 0; rs = page()->borad()->fileHander()->saveToDdf(this, filePath); } else { + _dirty = 0; rs = page()->borad()->fileHander()->saveToImage(this, filePath); //保存成功 if (rs) {