try a autosave next time even when currently no buffer is open

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37679 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-02-15 17:07:01 +00:00
parent b9e7a9b269
commit 1a363f80e6

View File

@ -1512,8 +1512,10 @@ void GuiView::autoSave()
Buffer * buffer = documentBufferView()
? &documentBufferView()->buffer() : 0;
if (!buffer)
if (!buffer) {
resetAutosaveTimers();
return;
}
#if (QT_VERSION >= 0x040400)
GuiViewPrivate::busyBuffers.insert(buffer);