summaryrefslogtreecommitdiff
path: root/docview
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-26 13:51:36 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-26 13:51:36 +0200
commitfe26719c848fc48ca99dcf5b9679a1a79b2610f9 (patch)
tree606b54319851479364ded1e53554cabfa840c698 /docview
parentc5dd377445cdd5cc1b56c8c6d950d692572c885e (diff)
downloadfpGUI-fe26719c848fc48ca99dcf5b9679a1a79b2610f9.tar.xz
docview: fixes the AV that occurs when you switch INF files that had notes.
The ClearNotes() function was correctly called, I just forgot to implement it. :-(
Diffstat (limited to 'docview')
-rw-r--r--docview/src/frm_main.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas
index 3c0590b5..77bc411f 100644
--- a/docview/src/frm_main.pas
+++ b/docview/src/frm_main.pas
@@ -1997,7 +1997,8 @@ end;
procedure TMainForm.ClearNotes;
begin
- { TODO -oGraeme : Implement me }
+ DestroyListObjects( Notes );
+ Notes.Clear;
end;
procedure TMainForm.ClearIndexComponents;