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 ...@@ -201,15 +201,12 @@ bool LLFloaterParticleEditor::handleSaveDialog(const LLSD& notification, const L
break; break;
case 1: // "No" case 1: // "No"
// This will close immediately because mForceClose is true, so we won't mChanged = false;
// infinite loop with these dialogs. JC
closeFloater(); closeFloater();
break; break;
case 2: // "Cancel" case 2: // "Cancel"
default: default:
// If we were quitting, we didn't really mean it.
LLAppViewer::instance()->abortQuit();
break; break;
} }
return false; 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