summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}