* Close the sign window associated with the given sign. * @param sign The sign to close the window for. */
| 599 | * @param sign The sign to close the window for. |
| 600 | */ |
| 601 | void DeleteRenameSignWindow(SignID sign) |
| 602 | { |
| 603 | SignWindow *w = dynamic_cast<SignWindow *>(FindWindowById(WC_QUERY_STRING, WN_QUERY_STRING_SIGN)); |
| 604 | |
| 605 | if (w != nullptr && w->cur_sign == sign) w->Close(); |
| 606 | } |
no test coverage detected