summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRene Gollent <rene@gollent.com>2016-12-05 23:08:04 (GMT)
committerRene Gollent <rene@gollent.com>2016-12-05 23:18:14 (GMT)
commite218ec028869b8d4da1a0b7ee6ffa008b3efe748 (patch)
tree0c2d6d5773919429160a62300ad2f34aac2afda0
parent7e6e3c1be2d23132861902a1f30e507095a9e7dc (diff)
Debugger: Hide connection controls.HEADhrev50738master
TeamsWindow: - As the functionality isn't yet actually ready, hide the controls in the teams window for now.
-rw-r--r--src/apps/debugger/user_interface/gui/teams_window/TeamsWindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/apps/debugger/user_interface/gui/teams_window/TeamsWindow.cpp b/src/apps/debugger/user_interface/gui/teams_window/TeamsWindow.cpp
index 613e23b..4a8b50f 100644
--- a/src/apps/debugger/user_interface/gui/teams_window/TeamsWindow.cpp
+++ b/src/apps/debugger/user_interface/gui/teams_window/TeamsWindow.cpp
@@ -260,9 +260,12 @@ TeamsWindow::_Init()
connectionMenu->AddItem(item);
}
+ BGroupLayout* connectionLayout = NULL;
+
BLayoutBuilder::Group<>(this, B_VERTICAL)
.AddGroup(B_HORIZONTAL)
.SetInsets(B_USE_DEFAULT_SPACING)
+ .GetLayout(&connectionLayout)
.Add(fConnectionField = new BMenuField("Connected to:",
connectionMenu))
.AddGlue()
@@ -284,6 +287,8 @@ TeamsWindow::_Init()
.End()
.End();
+ connectionLayout->SetVisible(false);
+
menuDeleter.Detach();
AddListener(fTeamsListView);