diff options
Diffstat (limited to 'docview')
-rw-r--r-- | docview/src/frm_main.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas index 8a3aa84a..15114333 100644 --- a/docview/src/frm_main.pas +++ b/docview/src/frm_main.pas @@ -1147,9 +1147,6 @@ var begin LogEvent(LogStartup, 'OpenFiles' ); - if CurrentOpenFiles.Count = 0 then - exit; // nothing to do - //if not OKToCloseFile then // exit; @@ -1175,6 +1172,9 @@ begin AssignList(tmpHelpFiles, CurrentOpenFiles ); + if CurrentOpenFiles.Count = 0 then + exit; // no help files found - nothing further to do + ProgressBar.Position := 50; SetStatus( rsDVDisplaying ); |