From 5525ddd867ae514bcea54da371914edfa01a01cc Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Fri, 21 Feb 2020 20:16:51 -0500
Subject: [PATCH] Fixes #53 close state check was mismatched causing an
 infinite loop of notification dialogs

---
 indra/newview/llfloaterparticleeditor.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/indra/newview/llfloaterparticleeditor.cpp b/indra/newview/llfloaterparticleeditor.cpp
index 93c1be9f89..e3a8cc756e 100644
--- a/indra/newview/llfloaterparticleeditor.cpp
+++ b/indra/newview/llfloaterparticleeditor.cpp
@@ -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;
-- 
GitLab