summaryrefslogtreecommitdiff
path: root/unit1.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-31 19:36:23 +0200
committerErich Eckner <git@eckner.net>2018-05-31 19:36:23 +0200
commitf1fddce52378ca51ab4d943830451700dffdedce (patch)
tree7abf3b6f75b739cbb208b00f84297050f9a7dbc5 /unit1.pas
parent7a012ed32e3ecb55658ffd3eb7035a0dd154232d (diff)
downloadEmails-f1fddce52378ca51ab4d943830451700dffdedce.tar.xz
do not update konfig if pc is not assigned (yet)
Diffstat (limited to 'unit1.pas')
-rw-r--r--unit1.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/unit1.pas b/unit1.pas
index c5029f2..12bddaf 100644
--- a/unit1.pas
+++ b/unit1.pas
@@ -132,6 +132,8 @@ procedure TForm1.CheckBox1Click(Sender: TObject);
var
sl: tMyStringList;
begin
+ if not assigned(pc) then
+ exit;
sl:=tMyStringList.create;
if checkBox1.checked then