Index: bluefish/src/file_dialogs.c
===================================================================
--- bluefish/src/file_dialogs.c (revision 6601)
+++ bluefish/src/file_dialogs.c (revision 6602)
@@ -553,7 +553,6 @@
}
/* if the user wanted to close the doc we should do very diffferent things here !! */
doc->action.save = NULL;
- gtk_text_view_set_editable(GTK_TEXT_VIEW(doc->view), TRUE);
if (doc->action.close_doc) {
Tbfwin *bfwin = doc->bfwin;
gboolean close_window = doc->action.close_window;
@@ -564,6 +563,7 @@
return CHECKNSAVE_STOP; /* it actually doesn't matter what we return, this was the last callback anyway */
} else {
/* YES! we're done! update the fileinfo ! */
+ gtk_text_view_set_editable(GTK_TEXT_VIEW(doc->view), TRUE);
DEBUG_MSG("doc_checkNsave_lcb, re-set async doc->fileinfo (current=%p)\n", doc->fileinfo);
if (doc->fileinfo)
g_object_unref(doc->fileinfo);