| 279 | } |
| 280 | |
| 281 | void BuildSortSignList() |
| 282 | { |
| 283 | if (this->signs.NeedRebuild()) { |
| 284 | this->BuildSignsList(); |
| 285 | this->vscroll->SetCount(this->signs.size()); |
| 286 | this->SetWidgetDirty(WID_SIL_CAPTION); |
| 287 | } |
| 288 | this->SortSignsList(); |
| 289 | } |
| 290 | |
| 291 | /** Resort the sign listing on a regular interval. */ |
| 292 | const IntervalTimer<TimerWindow> rebuild_interval = {std::chrono::seconds(3), [this](auto) { |
no test coverage detected