diff options
Diffstat (limited to 'src/gui/PatchView.cpp')
-rw-r--r-- | src/gui/PatchView.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp index 812c3115..ad62d43e 100644 --- a/src/gui/PatchView.cpp +++ b/src/gui/PatchView.cpp @@ -81,12 +81,12 @@ PatchView::set_patch(SharedPtr<PatchModel> patch) _poly_spin->set_value(patch->poly()); - for (GraphObject::Properties::const_iterator i = patch->properties().begin(); - i != patch->properties().end(); ++i) + for (GraphObject::Properties::const_iterator i = patch->meta().properties().begin(); + i != patch->meta().properties().end(); ++i) property_changed(i->first, i->second); - for (GraphObject::Properties::const_iterator i = patch->variables().begin(); - i != patch->variables().end(); ++i) + for (GraphObject::Properties::const_iterator i = patch->properties().begin(); + i != patch->properties().end(); ++i) property_changed(i->first, i->second); // Connect model signals to track state |