mirror of
https://github.com/lutris/lutris
synced 2024-10-14 11:42:36 +00:00
Half assed python type hints won't let me do trivial stuff like renaming a property, what a bunch of useless crap.
This commit is contained in:
parent
64d1f4436d
commit
7c53af2ff0
|
@ -427,7 +427,7 @@ class GameRemovalRow(Gtk.ListBoxRow):
|
|||
self.folder_size_spinner.hide()
|
||||
|
||||
@property
|
||||
def delete_files_property(self) -> bool:
|
||||
def delete_files(self) -> bool:
|
||||
"""True if the game files should be deleted."""
|
||||
return bool(
|
||||
self.game.is_installed
|
||||
|
@ -436,8 +436,8 @@ class GameRemovalRow(Gtk.ListBoxRow):
|
|||
and self.delete_files_checkbox.get_active()
|
||||
)
|
||||
|
||||
@delete_files_property.setter
|
||||
def delete_files_property(self, active: bool) -> None:
|
||||
@delete_files.setter
|
||||
def delete_files(self, active: bool) -> None:
|
||||
self.delete_files_checkbox.set_active(active)
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue