diff options
-rw-r--r-- | docview/src/frm_main.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas index 4a6231cf..64a07ecb 100644 --- a/docview/src/frm_main.pas +++ b/docview/src/frm_main.pas @@ -1147,6 +1147,9 @@ var begin LogEvent(LogStartup, 'OpenFiles' ); + if CurrentOpenFiles.Count = 0 then + exit; // nothing to do + //if not OKToCloseFile then // exit; |