Skip to content

Commit

Permalink
Fixup c75ca87
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Feb 10, 2018
1 parent c75ca87 commit 0100e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/widgets/addon_list.cpp
Expand Up @@ -269,9 +269,9 @@ void addon_list::set_addons(const addons_list& addons)
// Set up the Uninstall button.
if(tracking_info.can_publish) {
// Use the uninstall button as a delete-from-server button if the addon's already been published...
uninstall_button.set_active(!addon.local_only);
uninstall_button.set_active(!is_local);

if(!addon.local_only && delete_function_ != nullptr) {
if(!is_local && delete_function_ != nullptr) {
connect_signal_mouse_left_click(uninstall_button,
std::bind(&addon_list::addon_action_wrapper, this, delete_function_, std::ref(addon), _3, _4));

Expand Down

0 comments on commit 0100e3a

Please sign in to comment.