mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
VEdit set the modified to false when saving file
Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
parent
53bce98db6
commit
35f8d7350c
@ -98,6 +98,7 @@ void VEdit::saveFile()
|
||||
default:
|
||||
qWarning() << "error: unknown doc type" << int(noteFile->docType);
|
||||
}
|
||||
document()->setModified(false);
|
||||
}
|
||||
|
||||
void VEdit::reloadFile()
|
||||
|
@ -201,7 +201,6 @@ bool VEditor::saveFile()
|
||||
textEditor->setModified(true);
|
||||
return false;
|
||||
}
|
||||
textEditor->setModified(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user