summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/Port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/Port.cpp')
-rw-r--r--src/libs/gui/Port.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/gui/Port.cpp b/src/libs/gui/Port.cpp
index df0b779c..36a010bb 100644
--- a/src/libs/gui/Port.cpp
+++ b/src/libs/gui/Port.cpp
@@ -42,6 +42,7 @@ Port::Port(boost::shared_ptr<FlowCanvas::Module> module, SharedPtr<PortModel> pm
flip ? (!pm->is_input()) : pm->is_input(),
App::instance().configuration()->get_port_color(pm.get()))
, _port_model(pm)
+ , _flipped(flip)
{
assert(module);
assert(_port_model);
@@ -78,7 +79,7 @@ Port::create_menu()
PortMenu* menu = NULL;
Glib::RefPtr<Gnome::Glade::Xml> xml = GladeFactory::new_glade_reference();
xml->get_widget_derived("object_menu", menu);
- menu->init(_port_model);
+ menu->init(_port_model, _flipped);
set_menu(menu);
}