diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-11-16 17:46:43 -0800 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-11-16 17:46:43 -0800 |
commit | dd4a4409cd074e5b6747a3bc7dcbfebac4e6ba9f (patch) | |
tree | 534b29d896f833787c237135f9c890e432c75e85 /indra/llui/llcombobox.cpp | |
parent | 516b2fe7cdf23947600a0983ad80f9a44534cfe2 (diff) |
Eliminated redundant selection callback for LLComboBox (mSelectionCallback).
Diffstat (limited to 'indra/llui/llcombobox.cpp')
-rw-r--r-- | indra/llui/llcombobox.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 36e309d639..b84aa269d2 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -102,7 +102,6 @@ LLComboBox::LLComboBox(const LLComboBox::Params& p) mMaxChars(p.max_chars), mPrearrangeCallback(p.prearrange_callback()), mTextEntryCallback(p.text_entry_callback()), - mSelectionCallback(p.selection_callback()), mListPosition(p.list_position), mLastSelectedIndex(-1) { @@ -706,12 +705,6 @@ void LLComboBox::onItemSelected(const LLSD& data) // commit does the reverse, asserting the value in the list onCommit(); - - // call the callback if it exists - if(mSelectionCallback) - { - mSelectionCallback(this, data); - } } BOOL LLComboBox::handleToolTip(S32 x, S32 y, MASK mask) |