Codechange: Update window's widget lookup map when switching displayed plane.

This commit is contained in:
2024-02-14 17:23:03 +00:00
committed by Peter Nelson
parent 3d591c2094
commit 8c22690ce1
2 changed files with 9 additions and 0 deletions

View File

@@ -497,6 +497,8 @@ public:
int shown_plane; ///< Plane being displayed (for #NWID_SELECTION only).
const WidgetID index; ///< If non-negative, index in the #Window::widget_lookup.
private:
WidgetLookup *widget_lookup; ///< Window's widget lookup, updated in SetDisplayedPlane().
};
/** Nested widget container flags, */