summaryrefslogtreecommitdiff
path: root/src/bridge_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bridge_gui.cpp')
-rw-r--r--src/bridge_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp
index 56e0c2e4a..4004934f2 100644
--- a/src/bridge_gui.cpp
+++ b/src/bridge_gui.cpp
@@ -124,6 +124,7 @@ public:
type(br_type),
bridges(bl)
{
+ this->parent = FindWindowById(WC_BUILD_TOOLBAR, GB(this->type, 15, 2));
this->bridges->SetListing(this->last_sorting);
this->bridges->SetSortFuncs(this->sorter_funcs);
this->bridges->NeedResort();