diff options
Diffstat (limited to 'grc/core/generator/top_block.py')
-rw-r--r-- | grc/core/generator/top_block.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/grc/core/generator/top_block.py b/grc/core/generator/top_block.py index cd4ccc1dd5..6653bc7ae0 100644 --- a/grc/core/generator/top_block.py +++ b/grc/core/generator/top_block.py @@ -196,14 +196,6 @@ class TopBlockGenerator(object): ] blocks = expr_utils.sort_objects(blocks, operator.attrgetter('name'), _get_block_sort_text) - - # Ordering blocks : blocks with GUI Hint must be processed first to avoid PyQT5 superposing blocks - def without_gui_hint(block): - hint = block.params.get('gui_hint') - return hint is None or not hint.get_value() - - blocks.sort(key=without_gui_hint) - blocks_make = [] for block in blocks: make = block.templates.render('make') |