DarkRadiant: master 8ade7215
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 18.01.2022 21:10 | master 74e5424c |
Affected Issues | 0005884: Model chooser radio box selection issue: | |||
Changeset | 0005884: double-clicking a model material no longer accepts dialog Commit 9cfda496d31a0c5b40 introduced the ability to accept the ModelSelector and create a model immediately on double-clicking in the model tree, however the event handler was not bound to the _treeView but to the dialog itself. This worked, because wxCommandEvents propagate upwards, however it also added the unwanted behaviour of closing the dialog when double-clicking in the materials list. We now Bind() to the _treeView directly rather than to the dialog, ensuring that only the main model tree can close the dialog with a double-click. |
|||
mod - libs/wxutil/dialog/DialogBase.h | Diff File | |||
mod - radiant/ui/einspector/EntityInspector.cpp | Diff File | |||
mod - radiant/ui/einspector/EntityInspector.h | Diff File | |||
mod - radiant/ui/modelselector/ModelSelector.cpp | Diff File | |||
mod - radiant/ui/modelselector/ModelSelector.h | Diff File |