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;