Commit 5525ddd8 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

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

parent 40f92721
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment