This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9746909  don't need this anymore.  The menu renderer sends it.  Should 
fix #884
9746909 is described below

commit 97469099b7372c60177e431cadebb1b7cf91eb0b
Author: Alex Harui <[email protected]>
AuthorDate: Sun Jul 5 23:23:13 2020 -0700

    don't need this anymore.  The menu renderer sends it.  Should fix #884
---
 .../projects/MXRoyale/src/main/royale/mx/controls/MenuBar.as | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MenuBar.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MenuBar.as
index 6489f43..1f781c6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MenuBar.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/MenuBar.as
@@ -446,17 +446,7 @@ public class MenuBar extends UIComponent implements 
IFocusManagerComponent, ICon
     {
         super();
        /*  menuBarItemRenderer = new ClassFactory(MenuBarItem);
-        tabChildren = false; */
-               
-               addEventListener("change", changeHandler);
-    }
-
-    protected function changeHandler(event:Event):void
-    {
-        var item:Object = (model as MenuBarModel).selectedItem;
-        var menuEvent:MenuEvent = new MenuEvent("itemClick");
-        menuEvent.item = item;
-        dispatchEvent(menuEvent);
+        tabChildren = false; */                
     }
     
     /**

Reply via email to