From 0fa281fd7369348dbdeadcecfebb20b73082e93e Mon Sep 17 00:00:00 2001 From: Bastian Bloessl <mail@bastibl.net> Date: Fri, 7 Jun 2019 17:09:49 +0200 Subject: grc: introduce flag 'show_id' to show block id useful for variable and parameter blocks, but maybe others too --- grc/core/FlowGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/core/FlowGraph.py') 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() -- cgit v1.2.3