DarkRadiant: master fd4b5f94
|orbweaver||greebo||master||2021-02-10 20:33:14||master a362d0f6|
|Affected Issues||0005534: Opening the Create Entity dialog a second time will present an empty tree view|
|Changeset||0005534: EntityClassChooser is no longer a static singleton
Since populating the tree for this dialog is very quick, there is no benefit in
keeping a singleton around. Creating a new dialog each time requires much less
code and also fixes the major issue described in 0005534, namely that the dialog
is always empty on its second showing.
There is still a problem with the search feature (at least on Linux), which
results in the tree view becoming empty as soon as any text is entered in the
search box. However it is at least now possible to resume normal service by
closing the dialog and showing another one.
|mod - libs/wxutil/EntityClassChooser.cpp||Diff File|
|mod - libs/wxutil/EntityClassChooser.h||Diff File|