Kaydet (Commit) 16f67dc7 authored tarafından Enrico Tröger's avatar Enrico Tröger

When closing a document after it was deleted from the filesystem, don't ask…

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
üst fe466fba
......@@ -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>
......
......@@ -2966,6 +2966,7 @@ static gboolean monitor_resave_missing_file(GeanyDocument *doc)
}
else if (ret == GTK_RESPONSE_CLOSE)
{
doc->changed = FALSE;
document_close(doc);
}
......
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