Debug: Fix disabling auto-refresh not updating button

pull/211/head
Jonathan G Rennison 3 years ago
parent 3f3d5c106f
commit e5d4fab138

@ -636,6 +636,7 @@ struct NewGRFInspectWindow : Window {
case WID_NGRFI_REFRESH: {
this->auto_refresh = !this->auto_refresh;
this->SetWidgetLoweredState(WID_NGRFI_REFRESH, this->auto_refresh);
this->SetWidgetDirty(WID_NGRFI_REFRESH);
break;
}
}

Loading…
Cancel
Save