summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/LoadPatchWindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/LoadPatchWindow.cpp b/src/gui/LoadPatchWindow.cpp
index 127cc9c0..b504822f 100644
--- a/src/gui/LoadPatchWindow.cpp
+++ b/src/gui/LoadPatchWindow.cpp
@@ -100,11 +100,11 @@ LoadPatchWindow::present(SharedPtr<PatchModel> patch, bool import, GraphObject::
{
_import = import;
set_patch(patch);
- _symbol_label->set_visible(!import);
- _symbol_entry->set_visible(!import);
- _ports_label->set_visible(_import);
- _merge_ports_radio->set_visible(_import);
- _insert_ports_radio->set_visible(_import);
+ _symbol_label->property_visible() = !import;
+ _symbol_entry->property_visible() = !import;
+ _ports_label->property_visible() = _import;
+ _merge_ports_radio->property_visible() = _import;
+ _insert_ports_radio->property_visible() = _import;
_initial_data = data;
Gtk::Window::present();
}