diff --git a/src/gui/widgets/addon_list.cpp b/src/gui/widgets/addon_list.cpp index 7920321679de..c38a1a7beca8 100644 --- a/src/gui/widgets/addon_list.cpp +++ b/src/gui/widgets/addon_list.cpp @@ -219,18 +219,24 @@ void addon_list::set_addons(const addons_list& addons) // Set special retval for the toggle panels find_widget(row_grid, "list_panel", false).set_retval(DEFAULT_ACTION_RETVAL); + // The control button grid is excluded on lower resolutions. + grid* control_grid = find_widget(row_grid, "single_install_buttons", false, false); + if(!control_grid) { + continue; + } + // // Set up the inline control buttons. // - stacked_widget& install_update_stack = find_widget(row_grid, "install_update_stack", false); + stacked_widget& install_update_stack = find_widget(control_grid, "install_update_stack", false); // These three buttons are in the install_update_stack. Only one is shown depending on the addon's state. - button& install_button = find_widget