diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-24 12:49:13 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-24 12:49:13 +0200 |
commit | 763b3fbe8b6d7c32afaaffa972ad78fbabeed7f4 (patch) | |
tree | 5c846acc731813f0569492b54b8f5a5370e925ab | |
parent | 0b0fe16e4661faa2f430d7deab8002ff326d8606 (diff) | |
download | fpGUI-763b3fbe8b6d7c32afaaffa972ad78fbabeed7f4.tar.xz |
docview: When a help file is not found, notify the user.
-rw-r--r-- | docview/src/frm_main.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas index 15114333..bb1094b4 100644 --- a/docview/src/frm_main.pas +++ b/docview/src/frm_main.pas @@ -1084,7 +1084,8 @@ begin else begin LogEvent(LogStartup, ' File not found' ); - FullFilePath := FileName; // we'll complain later. + TfpgMessageDialog.Critical('Error', 'Failed to find the help file: ' + Filename); + Abort; end; LoadingFilenameList[ FileIndex ] := FullFilePath; end; |