summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/App.cpp9
-rw-r--r--src/gui/Connection.cpp2
2 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index c3fedd17..a4f9508d 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -241,15 +241,6 @@ App::port_activity(Port* port)
if (inserted.second)
inserted.first->second = false;
- if (port->is_output()) {
- for (Port::Connections::const_iterator i = port->connections().begin();
- i != port->connections().end(); ++i) {
- Port* const dst = dynamic_cast<Port*>((*i)->dest());
- if (dst)
- port_activity(dst);
- }
- }
-
port->set_highlighted(true, false, true, false);
}
diff --git a/src/gui/Connection.cpp b/src/gui/Connection.cpp
index 511f6044..6f24b124 100644
--- a/src/gui/Connection.cpp
+++ b/src/gui/Connection.cpp
@@ -35,7 +35,7 @@ Connection::Connection(FlowCanvas::Canvas& canvas,
{
Port* const src_port = dynamic_cast<Port*>(src);
if (src_port)
- _bpath.property_dash() = src_port->dash();
+ _bpath->property_dash() = src_port->dash();
}
} // namespace GUI