When closing a document after it was deleted from the filesystem, don't ask whether it should be saved first.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4498 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-12-20 15:50:53 +00:00
parent fe466fbafc
commit 16f67dc702
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,9 @@
* src/editor.c:
Fix LaTeX environment auto completion with CR/LF line endings.
Add some sanity checks.
* src/document.c:
When closing a document after it was deleted from the filesystem,
don't ask whether it should be saved first.
2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>

View File

@ -2966,6 +2966,7 @@ static gboolean monitor_resave_missing_file(GeanyDocument *doc)
}
else if (ret == GTK_RESPONSE_CLOSE)
{
doc->changed = FALSE;
document_close(doc);
}