diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-07-01 17:49:46 +0300 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-07-01 17:49:46 +0300 |
commit | 167e57d1387931a94b4a55f6c6560b64cef78144 (patch) | |
tree | 3de730b4e1879d5d323d4ddac701702072f5facc /indra/newview | |
parent | 7a89b20eccc93ee5195117ab4475f0ab86aea60b (diff) |
EXT-5403 FIXED Removed marking filter applied to inventory panel as default to fix scrolling to currently selected texture.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/679/.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltexturectrl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index 0b86cefa1d..fcb9deb20b 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -423,8 +423,9 @@ BOOL LLFloaterTexturePicker::postBuild() mInventoryPanel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS); mInventoryPanel->setAllowMultiSelect(FALSE); - // store this filter as the default one - mInventoryPanel->getRootFolder()->getFilter()->markDefault(); + // Commented out to scroll to currently selected texture. See EXT-5403. + // // store this filter as the default one + // mInventoryPanel->getRootFolder()->getFilter()->markDefault(); // Commented out to stop opening all folders with textures // mInventoryPanel->openDefaultFolderForType(LLFolderType::FT_TEXTURE); |