summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/gui/App.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/gui/App.cpp b/src/libs/gui/App.cpp
index fb185384..e207bb9f 100644
--- a/src/libs/gui/App.cpp
+++ b/src/libs/gui/App.cpp
@@ -24,6 +24,7 @@
#include <time.h>
#include <sys/time.h>
#include <raul/Path.hpp>
+#include <flowcanvas/Connection.hpp>
#include "module/global.hpp"
#include "module/Module.hpp"
#include "module/World.hpp"
@@ -220,6 +221,14 @@ 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) {
+ const SharedPtr<Port> dst = PtrCast<Port>(i->lock()->dest().lock());
+ if (dst)
+ port_activity(dst.get());
+ }
+ }
+
port->set_highlighted(true, false, true, false);
}