diff options
Diffstat (limited to 'grc/gui/Platform.py')
-rw-r--r-- | grc/gui/Platform.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/grc/gui/Platform.py b/grc/gui/Platform.py index b8dd6aa074..6a2a13f644 100644 --- a/grc/gui/Platform.py +++ b/grc/gui/Platform.py @@ -61,12 +61,14 @@ class Platform(CorePlatform): print(e, file=sys.stderr) ############################################## - # Constructors + # Factories ############################################## Config = Config FlowGraph = FlowGraph Connection = Connection block_classes = {key: Block.make_cls_with_base(cls) for key, cls in CorePlatform.block_classes.items()} - Port = Port - Param = Param + port_classes = {key: Port.make_cls_with_base(cls) + for key, cls in CorePlatform.port_classes.items()} + param_classes = {key: Param.make_cls_with_base(cls) + for key, cls in CorePlatform.param_classes.items()} |