Fix broken backspace behavior

This commit is contained in:
heliguy4599
2024-10-15 01:18:33 -04:00
parent de73eab760
commit d5de89f161

View File

@@ -250,7 +250,7 @@ class PackagesPage(Adw.BreakpointBin):
self.packages_toast_overlay.add_toast(ErrorToast(_("Could not copy {}").format(feedback), str(e)).toast)
def selection_uninstall(self, *args):
if len(self.selected_rows) < 1 or not self.uninstall_button.get_active():
if len(self.selected_rows) < 1 or not self.uninstall_button.get_sensitive():
return
def on_response(should_trash):