Skip to content
Snippets Groups Projects
Commit ff6eccd3 authored by Sergei Litovchuk's avatar Sergei Litovchuk
Browse files

EXT-4379 FIXED tab_stop parameter initialization that prevented inventory...

EXT-4379 FIXED tab_stop parameter initialization that prevented inventory panel from passing focus to folder view's scroll container.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/823/.

--HG--
branch : product-engine
parent 403485b2
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,7 @@ LLUICtrl::LLUICtrl(const LLUICtrl::Params& p, const LLViewModelPtr& viewmodel) ...@@ -101,6 +101,7 @@ LLUICtrl::LLUICtrl(const LLUICtrl::Params& p, const LLViewModelPtr& viewmodel)
: LLView(p), : LLView(p),
mTentative(FALSE), mTentative(FALSE),
mIsChrome(FALSE), mIsChrome(FALSE),
mTabStop(FALSE),
mViewModel(viewmodel), mViewModel(viewmodel),
mControlVariable(NULL), mControlVariable(NULL),
mEnabledControlVariable(NULL), mEnabledControlVariable(NULL),
......
...@@ -175,6 +175,9 @@ void LLInventoryPanel::initFromParams(const LLInventoryPanel::Params& params) ...@@ -175,6 +175,9 @@ void LLInventoryPanel::initFromParams(const LLInventoryPanel::Params& params)
setSortOrder(gSavedSettings.getU32(DEFAULT_SORT_ORDER)); setSortOrder(gSavedSettings.getU32(DEFAULT_SORT_ORDER));
} }
mFolderRoot->setSortOrder(getFilter()->getSortOrder()); mFolderRoot->setSortOrder(getFilter()->getSortOrder());
// Initialize base class params.
LLPanel::initFromParams(params);
} }
LLInventoryPanel::~LLInventoryPanel() LLInventoryPanel::~LLInventoryPanel()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment