* Close active error message window * @return true if a window was closed. */
| 359 | * @return true if a window was closed. |
| 360 | */ |
| 361 | bool HideActiveErrorMessage() |
| 362 | { |
| 363 | ErrmsgWindow *w = dynamic_cast<ErrmsgWindow *>(FindWindowById(WC_ERRMSG, 0)); |
| 364 | if (w == nullptr) return false; |
| 365 | w->Close(); |
| 366 | return true; |
| 367 | } |
| 368 | |
| 369 | /** |
| 370 | * Schedule a list of errors. |
no test coverage detected