aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/llui/llfloater.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/llui/llfloater.cpp')
-rw-r--r--linden/indra/llui/llfloater.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp
index bf50830..759fae0 100644
--- a/linden/indra/llui/llfloater.cpp
+++ b/linden/indra/llui/llfloater.cpp
@@ -832,8 +832,14 @@ void LLFloater::setMinimized(BOOL minimize)
832 832
833 for (S32 i = 0; i < 4; i++) 833 for (S32 i = 0; i < 4; i++)
834 { 834 {
835 if (mResizeBar[i]) mResizeBar[i]->setEnabled(FALSE); 835 if (mResizeBar[i] != NULL)
836 if (mResizeHandle[i]) mResizeHandle[i]->setEnabled(FALSE); 836 {
837 mResizeBar[i]->setEnabled(FALSE);
838 }
839 if (mResizeHandle[i] != NULL)
840 {
841 mResizeHandle[i]->setEnabled(FALSE);
842 }
837 } 843 }
838 844
839 mMinimized = TRUE; 845 mMinimized = TRUE;
@@ -875,8 +881,14 @@ void LLFloater::setMinimized(BOOL minimize)
875 881
876 for (S32 i = 0; i < 4; i++) 882 for (S32 i = 0; i < 4; i++)
877 { 883 {
878 if (mResizeBar[i]) mResizeBar[i]->setEnabled(isResizable()); 884 if (mResizeBar[i] != NULL)
879 if (mResizeHandle[i]) mResizeHandle[i]->setEnabled(isResizable()); 885 {
886 mResizeBar[i]->setEnabled(isResizable());
887 }
888 if (mResizeHandle[i] != NULL)
889 {
890 mResizeHandle[i]->setEnabled(isResizable());
891 }
880 } 892 }
881 893
882 mMinimized = FALSE; 894 mMinimized = FALSE;