Skip to content

Commit

Permalink
Merge pull request #262 from baderouaich/master
Browse files Browse the repository at this point in the history
Fix combo_box::drop_down_style update
  • Loading branch information
gammasoft71 authored Aug 27, 2024
2 parents d188097 + d1be99d commit 4f8deae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xtd.forms/src/xtd/forms/combo_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ combo_box_style combo_box::drop_down_style() const noexcept {
}

combo_box& combo_box::drop_down_style(combo_box_style drop_down_style) {
if (data_->drop_down_style == drop_down_style)
if (data_->drop_down_style == drop_down_style) return *this;
data_->drop_down_style = drop_down_style;
post_recreate_handle();
on_drop_down_style_changed(event_args::empty);
Expand Down

0 comments on commit 4f8deae

Please sign in to comment.