summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PatchageModule.cpp1
-rw-r--r--src/PatchageModule.hpp7
2 files changed, 5 insertions, 3 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 2d53a27..46188f8 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -24,6 +24,7 @@ PatchageModule::PatchageModule(
: Module(*app->canvas().get(), name, x, y)
, _app(app)
, _menu(NULL)
+ , _name(name)
, _type(type)
{
signal_moved.connect(
diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp
index 56c7980..a0b6da9 100644
--- a/src/PatchageModule.hpp
+++ b/src/PatchageModule.hpp
@@ -56,9 +56,10 @@ protected:
void add_port(FlowCanvas::Port* port);
void remove_port(FlowCanvas::Port* port);
- Patchage* _app;
- Gtk::Menu* _menu;
- ModuleType _type;
+ Patchage* _app;
+ Gtk::Menu* _menu;
+ std::string _name;
+ ModuleType _type;
};
#endif // PATCHAGE_PATCHAGEMODULE_HPP