Disable play button after deleting last game

This commit is contained in:
Faugus
2026-01-05 19:22:35 -03:00
parent 73021f8428
commit b69fb20594

View File

@@ -2029,6 +2029,7 @@ class Main(Gtk.Window):
# Remove the game from the latest-games file if it exists
self.remove_game_from_latest_games(title)
self.button_play.set_sensitive(False)
if self.flowbox.get_children():
self.flowbox.select_child(self.flowbox.get_children()[0])