diff --git a/src/drawboard/drawboard/drawboard/context/pagecontext.cpp b/src/drawboard/drawboard/drawboard/context/pagecontext.cpp index 073e9bf9a..f6b63de33 100644 --- a/src/drawboard/drawboard/drawboard/context/pagecontext.cpp +++ b/src/drawboard/drawboard/drawboard/context/pagecontext.cpp @@ -300,8 +300,10 @@ bool PageContext::save(const QString &file) if (page() != nullptr && page()->borad() != nullptr) { QFileInfo info(filePath); if ("ddf" == info.suffix().toLower()) { + d_PageContext()->_dirty = 0; return page()->borad()->fileHander()->saveToDdf(this, filePath); } else { + d_PageContext()->_dirty = 0; return page()->borad()->fileHander()->saveToImage(this, filePath); } }