summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchPortModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchPortModule.cpp')
-rw-r--r--src/gui/PatchPortModule.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index df4d8dc8..49dc4925 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -68,7 +68,6 @@ PatchPortModule::create(PatchCanvas& canvas,
m != model->properties().end(); ++m)
ret->property_changed(m->first, m->second);
- ret->resize();
return ret;
}
@@ -110,15 +109,13 @@ PatchPortModule::show_human_names(bool b)
set_name(name.get_string());
else
set_name(_model->symbol().c_str());
-
- resize();
}
void
PatchPortModule::set_name(const std::string& n)
{
_port->set_name(n);
- Module::resize();
+ _must_resize = true;
}
void