      */
     override protected function commitProperties():void
     {
-    	var changedSelection:Boolean = false;
-    	
+        var changedSelection:Boolean = false;
+        
         super.commitProperties();
         
         if (dataProviderChanged)
         {
             dataProviderChanged = false;
             doingWholesaleChanges = false;
-    	
-    	    // TODO: should resetting the dataProvider clear out all of its state?
-    	    // or should we preserve selectedIndex
-        	if (selectedIndex >= 0 && dataProvider && selectedIndex < dataProvider.length)
-        	   itemSelected(dataProvider.getItemAt(selectedIndex), true);
-        	else
-        	   selectedIndex = -1;
+        
+            // TODO: should resetting the dataProvider clear out all of its state?
+            // or should we preserve selectedIndex
+            if (selectedIndex >= 0 && dataProvider && selectedIndex < dataProvider.length)
+               itemSelected(dataProvider.getItemAt(selectedIndex), true);
+            else
+               selectedIndex = -1;
         }
             
         if (requiresSelectionChanged)

    //--------------------------------------------------------------------------
    
    /**
     *  Called when an item is selected or de-selected. Subclasses must override
     *  this method to display the selection.
     */
    protected function itemSelected(item:Object, selected:Boolean):void
    {

                    dataProvider &&
                    dataProvider.length > 0)
            {
                // Set the proposed selected index here to make sure
                // commitSelectedIndex() is called below.
                _proposedSelectedIndex = 0;
            }
        }
