Addon Manager: quick fix for the stack button having the wrong text

#2023, #2596.
This commit is contained in:
Charles Dang 2018-03-13 03:16:29 +11:00
parent 376f0f446b
commit c0244dc4e1

View file

@ -636,6 +636,7 @@ void addon_manager::execute_action_on_selected_addon(window& window)
// Explicitly return to the main page if we're in low-res mode so the list is visible.
if(stacked_widget* stk = find_widget<stacked_widget>(&window, "main_stack", false, false)) {
stk->select_layer(0);
find_widget<button>(&window, "details_toggle", false).set_label(_("Addon Details"));
}
addon_list& addons = find_widget<addon_list>(&window, "addons", false);