Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/gui/dialogs/drop_down_list.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- diff --git a/src/gui/dialogs/drop_down_list.cpp b/src/gui/dialogs/drop_down_list.cpp
- index 3736958..7b0f663 100644
- --- a/src/gui/dialogs/drop_down_list.cpp
- +++ b/src/gui/dialogs/drop_down_list.cpp
- @@ -55,9 +55,9 @@ void tdrop_down_list::pre_show(CVideo& /*video*/, twindow& window)
- window.set_variable("button_h", variant(button_pos_.h));
- tlistbox& list = find_widget<tlistbox>(&window, "list", true);
- std::map<std::string, string_map> data;
- - t_string& label = data["label"]["label"];
- FOREACH(const AUTO& str, items_) {
- - label = str;
- + data["label"]["use_markup"] = "true";
- + data["label"]["label"] = str;
- list.add_row(data);
- }
- list.select_row(selected_item_);
Advertisement
Add Comment
Please, Sign In to add comment