diff --git a/flatpak/hu.kramo.Cartridges.Devel.json b/flatpak/hu.kramo.Cartridges.Devel.json index 1c2ecea..1acbf0b 100644 --- a/flatpak/hu.kramo.Cartridges.Devel.json +++ b/flatpak/hu.kramo.Cartridges.Devel.json @@ -28,7 +28,9 @@ "/share/man", "/share/pkgconfig", "*.la", - "*.a" + "*.a", + "*.pyc", + "__pycache__" ], "modules" : [ { diff --git a/src/game.py b/src/game.py index e4b7693..34dbf84 100644 --- a/src/game.py +++ b/src/game.py @@ -140,11 +140,12 @@ class Game(Gtk.Box): def toggle_hidden(self, toast=True): self.hidden = not self.hidden self.save() - self.update() if self.win.stack.get_visible_child() == self.win.details_view: self.win.on_go_back_action() + self.update() + if toast: self.create_toast( # The variable is the title of the game