From ce52bd370c0b13ed4de11df08168768dec327497 Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Tue, 26 Mar 2013 13:27:29 -0400
Subject: grc: fixes problem with order of defining message ports vs. data
 ports.

---
 grc/python/Port.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'grc/python/Port.py')

diff --git a/grc/python/Port.py b/grc/python/Port.py
index 738a33ba72..9e9f5676ef 100644
--- a/grc/python/Port.py
+++ b/grc/python/Port.py
@@ -90,6 +90,7 @@ class Port(_Port, _GUIPort):
 		"""
 		self._n = n
 		if n['type'] == 'msg': n['key'] = 'msg'
+                if n['type'] == 'message': n['key'] = n['name']
 		if dir == 'source' and not n.find('key'):
 			n['key'] = str(block._source_count)
 			block._source_count += 1
-- 
cgit v1.2.3