mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Do not allow the backspace shortcut to uninstall Warehouse
This commit is contained in:
@@ -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:
|
||||
if len(self.selected_rows) < 1 or not self.uninstall_button.get_active():
|
||||
return
|
||||
|
||||
def on_response(should_trash):
|
||||
|
||||
Reference in New Issue
Block a user