one dialog at a time in p3dCert

This commit is contained in:
David Rose 2009-12-15 00:28:55 +00:00
parent 6d07d897a8
commit c0c94ad612
2 changed files with 4 additions and 2 deletions

View File

@ -202,6 +202,7 @@ view_cert_clicked(wxCommandEvent &event) {
if (_view_cert_dialog != NULL) {
_view_cert_dialog->Destroy();
}
Hide();
_view_cert_dialog = new ViewCertDialog(this, _cert);
_view_cert_dialog->Show();
}
@ -563,6 +564,9 @@ run_clicked(wxCommandEvent &event) {
////////////////////////////////////////////////////////////////////
void ViewCertDialog::
cancel_clicked(wxCommandEvent &event) {
if (_auth_dialog != NULL){
_auth_dialog->Destroy();
}
Destroy();
}

View File

@ -173,8 +173,6 @@ set_install_progress(double install_progress,
doc.LinkEndChild(xcommand);
write_xml(_pipe_write, &doc, nout);
write_xml(nout, &doc, nout);
check_stopped();
}