Fixup c75ca87
This commit is contained in:
parent
c75ca87517
commit
0100e3a9f7
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue