diff --git a/src/newgrf_debug_gui.cpp b/src/newgrf_debug_gui.cpp index 9dcd14c9d9..e200515e26 100644 --- a/src/newgrf_debug_gui.cpp +++ b/src/newgrf_debug_gui.cpp @@ -930,6 +930,9 @@ struct SpriteAlignerWindow : Window { } case WID_SA_LIST: { + /* Don't redraw sprite list while it is still being filled by picker. */ + if (_newgrf_debug_sprite_picker.mode == SPM_REDRAW) break; + const NWidgetBase *nwid = this->GetWidget(widget); int step_size = nwid->resize_y;