SL-18448 Fixed exit condition
parent
8c5c07d307
commit
d228a12f45
|
|
@ -424,11 +424,11 @@ BOOL LLMaterialEditor::postBuild()
|
|||
|
||||
void LLMaterialEditor::onClickCloseBtn(bool app_quitting)
|
||||
{
|
||||
if (app_quitting)
|
||||
if (app_quitting || mIsOverride)
|
||||
{
|
||||
closeFloater(app_quitting);
|
||||
}
|
||||
else if (!mIsOverride)
|
||||
else
|
||||
{
|
||||
onClickCancel();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue