editor cache not saved if document is temp

This commit is contained in:
Basile Burg 2015-02-22 13:00:31 +01:00
parent f3b7120610
commit 06deabd011
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ var
chksm: Cardinal;
begin
tempn := fMemo.fileName;
if tempn = fMemo.tempFilename then exit;
if not fileExists(tempn) then exit;
//
fname := getCoeditDocPath + 'editorcache' + DirectorySeparator;