Commit 1a4097cc authored by Aurimas Černius's avatar Aurimas Černius

Make save() clear the need save flag

parent 87b8ec81
......@@ -350,6 +350,7 @@ namespace gnote {
// e.g on forced quit when we call save for every note.
if (!m_save_needed)
return;
m_save_needed = false;
DBG_OUT("Saving '%s'...", m_data.data().title().c_str());
......@@ -446,7 +447,6 @@ namespace gnote {
{
try {
save();
m_save_needed = false;
}
catch(const sharp::Exception &e)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment