one dialog at a time in p3dCert
This commit is contained in:
parent
6d07d897a8
commit
c0c94ad612
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue