| 125 | } |
| 126 | |
| 127 | void QmitkPipInstallDialog::reject() |
| 128 | { |
| 129 | if (m_Installer->IsRunning() && !this->ConfirmCancel()) |
| 130 | return; |
| 131 | |
| 132 | // The user is dismissing the dialog. If a previous attempt failed and left |
| 133 | // a partial venv behind, clean it up. No-op after a successful install or |
| 134 | // after Cancel already did the cleanup. |
| 135 | m_Installer->AbandonInstall(); |
| 136 | |
| 137 | QDialog::reject(); |
| 138 | } |
| 139 | |
| 140 | void QmitkPipInstallDialog::OnAdvancedSettingsClicked() |
| 141 | { |