Skip to content
Snippets Groups Projects
Commit 5525ddd8 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fixes #53 close state check was mismatched causing an infinite loop of notification dialogs

parent 40f92721
No related branches found
No related tags found
No related merge requests found
......@@ -201,15 +201,12 @@ bool LLFloaterParticleEditor::handleSaveDialog(const LLSD& notification, const L
break;
case 1: // "No"
// This will close immediately because mForceClose is true, so we won't
// infinite loop with these dialogs. JC
mChanged = false;
closeFloater();
break;
case 2: // "Cancel"
default:
// If we were quitting, we didn't really mean it.
LLAppViewer::instance()->abortQuit();
break;
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment