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:
parent
fe466fbafc
commit
16f67dc702
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user