From 1c51efbc835db11d292b0368743a3a7e19906b3c Mon Sep 17 00:00:00 2001 From: cinder <cinder@alchemyviewer.org> Date: Thu, 19 Dec 2024 17:42:49 -0600 Subject: [PATCH] lol dumb --- indra/newview/llpanelprofilepicks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llpanelprofilepicks.cpp b/indra/newview/llpanelprofilepicks.cpp index aa3439ece32..03420611655 100644 --- a/indra/newview/llpanelprofilepicks.cpp +++ b/indra/newview/llpanelprofilepicks.cpp @@ -449,7 +449,7 @@ bool LLPanelProfilePicks::hasUnsavedChanges() for (S32 tab_idx = 0; tab_idx < mTabContainer->getTabCount(); ++tab_idx) { LLPanelProfilePick* pick_panel = dynamic_cast<LLPanelProfilePick*>(mTabContainer->getPanelByIndex(tab_idx)); - if (pick_panel && (pick_panel->isDirty() || pick_panel->isDirty())) + if (pick_panel && pick_panel->isDirty()) { return true; } -- GitLab