| 258 | } |
| 259 | |
| 260 | void TabDiagnostics::UpdateStatus() { |
| 261 | this->status = this->BuildStatus(this->mode, this->ui->diagnostic_mode_options->currentIndex()); |
| 262 | |
| 263 | this->ui->diagnostic_status_text->setPlainText(this->status.c_str()); |
| 264 | |
| 265 | this->ui->diagnostic_search_clear->setEnabled(!this->ui->diagnostic_search_edit->text().isEmpty()); |
| 266 | this->ui->diagnostic_search_edit->setFocus(); |
| 267 | this->ui->diagnostic_export_file->setEnabled(true); |
| 268 | |
| 269 | this->ResetTextCursor(); |
| 270 | } |
| 271 | |
| 272 | void TabDiagnostics::UpdateUI(UpdateUIMode mode) { |
| 273 | (void)mode; |
no test coverage detected