summaryrefslogtreecommitdiff
path: root/ui/editNetwork.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/editNetwork.cpp')
-rw-r--r--ui/editNetwork.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/editNetwork.cpp b/ui/editNetwork.cpp
index 3a28af7..a9b041c 100644
--- a/ui/editNetwork.cpp
+++ b/ui/editNetwork.cpp
@@ -65,9 +65,9 @@ EditNetwork::Builder::setHeightsFor(Network * network, const Link::CCollection &
}
void
-EditNetwork::render()
+EditNetwork::render(bool & open)
{
- ImGui::Begin("Edit Network");
+ ImGui::Begin("Edit Network", &open);
auto builderChoice = [this]<typename Impl>(const char * name) {
if (ImGui::RadioButton(name, dynamic_cast<Impl *>(builder.get()))) {