Update status of the fund and display-chain widgets. */
| 346 | |
| 347 | /** Update status of the fund and display-chain widgets. */ |
| 348 | void SetButtons() |
| 349 | { |
| 350 | this->SetWidgetDisabledState(WID_DPI_FUND_WIDGET, this->selected_type != IT_INVALID && !this->enabled); |
| 351 | this->SetWidgetDisabledState(WID_DPI_DISPLAY_WIDGET, this->selected_type == IT_INVALID && this->enabled); |
| 352 | } |
| 353 | |
| 354 | /** |
| 355 | * Build a string of cargo names with suffixes attached. |
no test coverage detected