SH-4035 spec change. If you revert after quiting, SL shutsdown.
parent
c81b685b42
commit
c5c2e7b405
|
|
@ -717,9 +717,13 @@ void LLFloater::closeFloater(bool app_quitting)
|
|||
{
|
||||
if ( mVerifyUponClose && !mForceCloseAfterVerify )
|
||||
{
|
||||
|
||||
llinfos<<"prep#dogshit1"<<llendl;
|
||||
onClose( app_quitting );
|
||||
if ( mForceCloseAfterVerify )
|
||||
{
|
||||
|
||||
llinfos<<"prep#dogshit1b"<<llendl;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -727,6 +731,7 @@ void LLFloater::closeFloater(bool app_quitting)
|
|||
|
||||
if (app_quitting)
|
||||
{
|
||||
llinfos<<"prep#dogshit2"<<llendl;
|
||||
LLFloater::sQuitting = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,8 @@ public:
|
|||
|
||||
private:
|
||||
LLSidepanelAppearance* getSidePanelAppearance();
|
||||
private:
|
||||
|
||||
public:
|
||||
bool mAppQuiting;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -151,11 +151,17 @@ bool LLSidepanelAppearance::callBackExitWithoutSaveViaClose(const LLSD& notifica
|
|||
toggleWearableEditPanel(FALSE);
|
||||
showOutfitEditPanel();
|
||||
LLVOAvatarSelf::onCustomizeEnd( FALSE );
|
||||
mRevertSet = true;
|
||||
if ( !mLLFloaterSidePanelContainer->mAppQuiting )
|
||||
{
|
||||
mRevertSet = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mLLFloaterSidePanelContainer->closeFloater( true );
|
||||
}
|
||||
return false;
|
||||
}
|
||||
mLLFloaterSidePanelContainer->mForceCloseAfterVerify = false;
|
||||
//mRevertSet = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue