diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 3c21219dc1ca9bf061e3f95107456965b146de1d..75da23b558d0ddfa55a1efba5a60351096a8b339 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -90,8 +90,9 @@ bool LLSidepanelAppearance::callBackExitWithoutSaveViaClose(const LLSD& notifica
 	S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
 	if ( option == 0 ) 
 	{	
+		//revert curernt edits
 		mEditWearable->revertChanges();
-		LLAppearanceMgr::getInstance()->wearBaseOutfit();
+		LLVOAvatarSelf::onCustomizeEnd(FALSE);	
 		mLLFloaterSidePanelContainer->close();
 		return true;
 	}