DarkRadiant: master a99bd537

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 10.01.2023 20:53 master a1f0c789
Affected Issues  0006198: Model Selector widgets are cut off and flicker constantly on Linux
Changeset 0006198: populate ModelSelector after mainframe is constructed

For a reason which isn't clear, the Reparent() call causes problems on
GTK whereby the GUI elements inside the ModelSelector constantly resize
and flicker on mouse motion.

We now avoid the need for a Reparent() altogether by calling Populate()
in response to signal_MainFrameConstructed(), which still allows the
model selector to populate itself but also guarantees that a valid main
frame pointer will be available.
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/modelselector/ModelSelector.cpp Diff File