diff options
author | prep@lindenlab.com <prep@lindenlab.com> | 2012-12-13 16:53:38 -0600 |
---|---|---|
committer | prep@lindenlab.com <prep@lindenlab.com> | 2012-12-13 16:53:38 -0600 |
commit | 18ff702a9965ba8b9a17326b391f8edab01242f6 (patch) | |
tree | 462e937b1e1195fa87ec306da01dfc5cf8bba30d /indra/newview/llpaneleditwearable.cpp | |
parent | 8eef31e47a785b32ea0caf434c5c7fa6a251beee (diff) |
Fix for SH-3591.
Diffstat (limited to 'indra/newview/llpaneleditwearable.cpp')
-rw-r--r-- | indra/newview/llpaneleditwearable.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index 87f9e3da59..786b215fdf 100644 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -856,6 +856,14 @@ void LLPanelEditWearable::draw() LLPanel::draw(); } +void LLPanelEditWearable::onClose() +{ + if ( isDirty() ) + { + revertChanges(); + } +} + void LLPanelEditWearable::setVisible(BOOL visible) { if (!visible) |