summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordeva <deva>2005-05-23 18:08:02 +0000
committerdeva <deva>2005-05-23 18:08:02 +0000
commit10317df7721b93b4b6c4d38a75c5e13ca57bf97a (patch)
treed6eb235846ae50ad11be1406212ca255377c5e2a /src
parent0ee11d2d10133f77d69060a58b9c3b38c8ecc70a (diff)
Name is now overwritten if non-valid cpr is used.
Diffstat (limited to 'src')
-rw-r--r--src/cprquerydialog.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cprquerydialog.cc b/src/cprquerydialog.cc
index faca073..0da4101 100644
--- a/src/cprquerydialog.cc
+++ b/src/cprquerydialog.cc
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.11 2005/05/23 18:08:02 deva
+ * Name is now overwritten if non-valid cpr is used.
+ *
* Revision 1.10 2005/05/03 08:31:59 deva
* Removed the error object, and replaced it with a more generic info object.
*
@@ -273,6 +276,8 @@ void CPRQueryDialog::verifycpr(char *cpr)
bcancel_clicked();
break;
case MSG_YES:
+ // Overwrite name from previous cpr.
+ lbl_name->setText(NAME_NOT_AVAILABLE);
accept();
break;
}