CONNECT_APPEND_SOURCE_OBJECT on signal emission
This commit is contained in:
@@ -1668,12 +1668,13 @@ void ConnectionsDock::update_tree() {
|
||||
if (cd.flags & CONNECT_ONE_SHOT) {
|
||||
path += " (one-shot)";
|
||||
}
|
||||
if (cd.flags & CONNECT_APPEND_SOURCE_OBJECT) {
|
||||
path += " (source)";
|
||||
}
|
||||
if (cd.unbinds > 0) {
|
||||
path += " unbinds(" + itos(cd.unbinds) + ")";
|
||||
}
|
||||
// CONNECT_APPEND_SOURCE_OBJECT is not affected by unbinds, list it between unbinds/binds to better indicate the final order.
|
||||
if (cd.flags & CONNECT_APPEND_SOURCE_OBJECT) {
|
||||
path += " (source)";
|
||||
}
|
||||
if (!cd.binds.is_empty()) {
|
||||
path += " binds(";
|
||||
for (int i = 0; i < cd.binds.size(); i++) {
|
||||
|
||||
@@ -84,11 +84,6 @@ public:
|
||||
unbinds = ccu->get_unbinds();
|
||||
base_callable = ccu->get_callable();
|
||||
}
|
||||
|
||||
// The source object may already be bound, ignore it to prevent display of the source object.
|
||||
if ((flags & CONNECT_APPEND_SOURCE_OBJECT) && (source == binds[0])) {
|
||||
binds.remove_at(0);
|
||||
}
|
||||
} else {
|
||||
base_callable = p_connection.callable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user