SL-18448 Fixed exit condition

meow-7.2.2
Andrey Kleshchev 2022-11-01 22:01:45 +02:00
parent 8c5c07d307
commit d228a12f45
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}