diff options
Diffstat (limited to 'linden/indra/newview/llfolderview.cpp')
-rw-r--r-- | linden/indra/newview/llfolderview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp index 49ca5e4..b543e31 100644 --- a/linden/indra/newview/llfolderview.cpp +++ b/linden/indra/newview/llfolderview.cpp | |||
@@ -40,7 +40,7 @@ | |||
40 | #include "llfocusmgr.h" | 40 | #include "llfocusmgr.h" |
41 | #include "llfontgl.h" | 41 | #include "llfontgl.h" |
42 | #include "llgl.h" | 42 | #include "llgl.h" |
43 | #include "llglimmediate.h" | 43 | #include "llrender.h" |
44 | #include "llinventory.h" | 44 | #include "llinventory.h" |
45 | 45 | ||
46 | #include "llcallbacklist.h" | 46 | #include "llcallbacklist.h" |
@@ -3144,6 +3144,10 @@ void LLFolderView::draw() | |||
3144 | { | 3144 | { |
3145 | closeAutoOpenedFolders(); | 3145 | closeAutoOpenedFolders(); |
3146 | } | 3146 | } |
3147 | if(gViewerWindow->hasKeyboardFocus(this) && !getVisible()) | ||
3148 | { | ||
3149 | gViewerWindow->setKeyboardFocus( NULL ); | ||
3150 | } | ||
3147 | 3151 | ||
3148 | // while dragging, update selection rendering to reflect single/multi drag status | 3152 | // while dragging, update selection rendering to reflect single/multi drag status |
3149 | if (LLToolDragAndDrop::getInstance()->hasMouseCapture()) | 3153 | if (LLToolDragAndDrop::getInstance()->hasMouseCapture()) |