diff options
author | Martin Braun <martin.braun@ettus.com> | 2023-12-19 21:46:27 +0100 |
---|---|---|
committer | Jeff Long <willcode4@gmail.com> | 2023-12-20 09:40:13 -0500 |
commit | d70c37234701539f591bf530cd72304757159510 (patch) | |
tree | 6550e6ed3a616966353d7ea1e5d20db38a16b255 | |
parent | Revert F15 (Fosphor) Sink (diff) | |
download | gnuradio-d70c37234701539f591bf530cd72304757159510.tar.xz gnuradio-d70c37234701539f591bf530cd72304757159510.zip |
grc: Make core.Connection.type not lazy
This fixes an issue where virtual blocks can not correctly update their
type when connected to message sources/sinks.
Signed-off-by: Martin Braun <martin.braun@ettus.com>
(cherry picked from commit 0fd504e597d62127cf6cf0c1ee22cdf5c2a1408e)
Signed-off-by: Jeff Long <willcode4@gmail.com>
-rw-r--r-- | grc/core/Connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Connection.py b/grc/core/Connection.py index e25a51f92..c64963663 100644 --- a/grc/core/Connection.py +++ b/grc/core/Connection.py @@ -88,7 +88,7 @@ class Connection(Element): def sink_block(self): return self.sink_port.parent_block - @lazy_property + @property def type(self): return self.source_port.domain, self.sink_port.domain |