Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
0f3f2f5fe7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_appframework/gui/components/controls/juce_ComboBox.cpp

+ 1
- 1
src/juce_appframework/gui/components/controls/juce_ComboBox.cpp View File

@@ -284,7 +284,7 @@ int ComboBox::getSelectedItemIndex() const throw()
void ComboBox::setSelectedItemIndex (const int index,
const bool dontSendChangeMessage) throw()
{
if (currentIndex != index)
if (currentIndex != index || label->getText() != getItemText (currentIndex))
{
if (index >= 0 && index < getNumItems())
currentIndex = index;


Loading…
Cancel
Save