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/FlowGraph.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/FlowGraph.py')
-rw-r--r-- | grc/core/FlowGraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py index 83a63a2484..04b73957b3 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -325,7 +325,7 @@ class FlowGraph(Element): a nested data odict """ def block_order(b): - return not b.key.startswith('variable'), b.name # todo: vars still first ?!? + return not b.is_variable, b.name # todo: vars still first ?!? data = collections.OrderedDict() data['options'] = self._options_block.export_data() |