Assign relations to function keys
[potlatch2.git] / net / systemeD / potlatch2 / EditController.as
index 04b46fc7059eeb2e27268fb1fe9f7dd9f81027ba..16540c901b572dc53fee1b6d7495319a7d522b77 100644 (file)
@@ -76,6 +76,8 @@ package net.systemeD.potlatch2 {
 
             FunctionKeyManager.instance().registerListener('Saved tags',
                 function(o:String):void { state.recallTags(o); });
+            FunctionKeyManager.instance().registerListener('Add to relation',
+                function(o:String):void { state.recallRelation(o); });
 
             if (this.moveFunction) {
                 var lon:Number = ( map.edge_r + map.edge_l ) / 2;