From 89b09aaf80b8210c2ea4b3da712bfcfbb571a60a Mon Sep 17 00:00:00 2001
From: Sebastian Koslowski <koslowski@kit.edu>
Date: Wed, 20 Jul 2016 13:45:06 +0200
Subject: grc: refactor: some more bus ports stuff

---
 grc/gui/ActionHandler.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'grc/gui/ActionHandler.py')

diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index 938f8872a3..237dd6c84c 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -612,17 +612,15 @@ class ActionHandler:
                 if b._grc_source:
                     main.new_page(b._grc_source, show=True)
         elif action == Actions.BUSSIFY_SOURCES:
-            n = {'name':'bus', 'type':'bus'}
             for b in flow_graph.selected_blocks():
-                b.bussify(n, 'source')
+                b.bussify('source')
             flow_graph._old_selected_port = None
             flow_graph._new_selected_port = None
             Actions.ELEMENT_CREATE()
 
         elif action == Actions.BUSSIFY_SINKS:
-            n = {'name':'bus', 'type':'bus'}
             for b in flow_graph.selected_blocks():
-                b.bussify(n, 'sink')
+                b.bussify('sink')
             flow_graph._old_selected_port = None
             flow_graph._new_selected_port = None
             Actions.ELEMENT_CREATE()
-- 
cgit v1.2.3