diff --git a/src/dropdown.cpp b/src/dropdown.cpp index 40c47a0fd5..4889973141 100644 --- a/src/dropdown.cpp +++ b/src/dropdown.cpp @@ -283,7 +283,7 @@ struct DropdownWindow : Window { if (y > -item_height) { Rect full = ir.Translate(0, y).WithHeight(item_height); - bool selected = (this->selected_result == item->result) && item->Selectable(); + bool selected = (this->selected_result == item->result) && item->Selectable() && this->selected_click_result < 0; if (selected) GfxFillRect(full, PC_BLACK); item->Draw(full, full.Shrink(WidgetDimensions::scaled.dropdowntext, RectPadding::zero), selected, selected ? this->selected_click_result : -1, colour);