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 c6326e4  fix tab nav switching views
c6326e4 is described below

commit c6326e44b21a9af02d93e852f59e70f359f4c1bc
Author: Alex Harui <[email protected]>
AuthorDate: Mon Dec 10 09:50:27 2018 -0800

    fix tab nav switching views
---
 .../MXRoyale/src/main/royale/mx/containers/beads/TabNavigatorView.as    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/TabNavigatorView.as
 
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/TabNavigatorView.as
index 70eca41..e54056a 100644
--- 
a/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/TabNavigatorView.as
+++ 
b/frameworks/projects/MXRoyale/src/main/royale/mx/containers/beads/TabNavigatorView.as
@@ -193,7 +193,7 @@ public class TabNavigatorView extends GroupView
     
     private function tabChangeHandler(event:Event):void
     {
-        dispatchEvent(new Event("layoutNeeded"));
+        (_strand as TabNavigator).selectedIndex = (tabBar as 
TabBar).selectedIndex;
     }
 
 }

Reply via email to