summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-12 17:31:08 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-12 17:31:08 +0200
commit3f55d7982864cf0258868d02e3b072ad96a532e5 (patch)
tree6d6084be4d38b17ebdee44f74424766ad0040cd5 /src
parent7e0fae1b3c12be290a304f2dcf1a9fc793fdc51f (diff)
downloadfpGUI-3f55d7982864cf0258868d02e3b072ad96a532e5.tar.xz
minor code comment for future consideration
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_dialogs.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_dialogs.pas b/src/gui/fpg_dialogs.pas
index 0a8d7cfc..62198263 100644
--- a/src/gui/fpg_dialogs.pas
+++ b/src/gui/fpg_dialogs.pas
@@ -546,7 +546,7 @@ end;
procedure TfpgBaseDialog.btnCancelClick(Sender: TObject);
begin
ModalResult := mrCancel;
- Close;
+ Close; // this shouldn't really be needed if we displayed form with ShowModal
end;
procedure TfpgBaseDialog.HandleKeyPress(var keycode: word;