fixes #1016 "This document not yet saved" shown twice when loading recent document.

presentation
JJones780 7 years ago
parent da80c34954
commit c5a775f01f
  1. 8
      src/control/Control.cpp

@ -2821,6 +2821,10 @@ bool Control::close(bool destroy, bool allowCancel)
{
return false;
}
else
{
destroy = true;
}
}
if (!doc->getFilename().isEmpty())
@ -2856,6 +2860,10 @@ bool Control::close(bool destroy, bool allowCancel)
{
return false;
}
else
{
destroy = true;
}
}
}

Loading…
Cancel
Save