diff options
author | Bastian Bloessl <mail@bastibl.net> | 2019-06-07 17:09:49 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-06-29 13:58:54 +0200 |
commit | 0fa281fd7369348dbdeadcecfebb20b73082e93e (patch) | |
tree | 63a176d74f0b10eae82de6578ea244cbf018a6c0 /grc/core/blocks/block.py | |
parent | 2ff628894b645d22325db6569fdccb265f57fbe1 (diff) |
grc: introduce flag 'show_id' to show block id
useful for variable and parameter blocks, but maybe others too
Diffstat (limited to 'grc/core/blocks/block.py')
-rw-r--r-- | grc/core/blocks/block.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/blocks/block.py b/grc/core/blocks/block.py index 9280d8fda7..50c7873e9d 100644 --- a/grc/core/blocks/block.py +++ b/grc/core/blocks/block.py @@ -77,7 +77,7 @@ class Block(Element): (data['id'], param_factory(parent=self, **data)) for data in self.parameters_data ) - if self.key == 'options' or self.is_variable: + if self.key == 'options': self.params['id'].hide = 'part' self.sinks = [port_factory(parent=self, **params) for params in self.inputs_data] |