diff --git a/Source/UI/Lists/UIComboBox.cpp b/Source/UI/Lists/UIComboBox.cpp index 688c5ccd..cb75a447 100644 --- a/Source/UI/Lists/UIComboBox.cpp +++ b/Source/UI/Lists/UIComboBox.cpp @@ -62,6 +62,9 @@ int UIComboBox::SendMsg(UIWindow* sender, int message, std::intptr_t argument1, this->AddLine(reinterpret_cast(argument1)); this->Invalidate(); return 0; + case 83: + this->targetId = value; + return 0; case 40: this->selected = value; if (value < 0) { @@ -73,9 +76,6 @@ int UIComboBox::SendMsg(UIWindow* sender, int message, std::intptr_t argument1, } break; - case 83: - this->targetId = value; - return 0; default: return UIListBox::SendMsg(sender, message, argument1, argument2, argument3, argument4); }