Remove previous bugfix for tab selection - no longer needed with Flex 4.5 as Adobe...
authorRichard Fairhurst <richard@systemeD.net>
Tue, 5 Jul 2011 16:07:29 +0000 (17:07 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Tue, 5 Jul 2011 16:07:29 +0000 (17:07 +0100)
net/systemeD/potlatch2/TagViewer.mxml

index ea6ca523259e9617bdc23e1b23a3ffe43f05eba7..3e5c691b1fe81cd9fc78e0606929cf2513f8c553 100644 (file)
       private var tabComponents:Object = {};
 
       private function initialiseEditors():void {
-          // reset tab to 0 to work around TabNavigator bug (#3444)
-          if (editorStack is TabNavigator) {
-              try {
-                  var tabBar:TabBar=TabBar(TabNavigator(editorStack).getTabAt(0).parent);
-                  tabBar.selectedIndex=0;
-                  tabBar.validateNow();
-              } catch(errObject:Error) {}
-          }
-
           editorStack.removeAllChildren();
           if ( selectedEntity == null || feature == null )
               return;