summaryrefslogtreecommitdiff
path: root/grc/base/Block.py
diff options
context:
space:
mode:
authorTim O'Shea2012-09-26 14:18:30 -0400
committerJohnathan Corgan2012-09-28 10:10:19 -0700
commit515d1b6f91f5dd28997525b1e88006bbfc0f170a (patch)
treed74ed839dc9349c47343613af7685ed12c01f89b /grc/base/Block.py
parenta07fe1904412af78b3d70a6225e6efe10c9efbe5 (diff)
downloadgnuradio-515d1b6f91f5dd28997525b1e88006bbfc0f170a.tar.gz
gnuradio-515d1b6f91f5dd28997525b1e88006bbfc0f170a.tar.bz2
gnuradio-515d1b6f91f5dd28997525b1e88006bbfc0f170a.zip
added the ability to open custom GRC hier block definitions from graphs using an instance of them
Diffstat (limited to 'grc/base/Block.py')
-rw-r--r--grc/base/Block.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/base/Block.py b/grc/base/Block.py
index fe7ad3c2f..a20be9db9 100644
--- a/grc/base/Block.py
+++ b/grc/base/Block.py
@@ -67,6 +67,7 @@ class Block(Element):
self._name = n.find('name')
self._key = n.find('key')
self._category = n.find('category') or ''
+ self._grc_source = n.find('grc_source') or ''
self._block_wrapper_path = n.find('block_wrapper_path')
#create the param objects
self._params = list()