Move reloading functions to separate module.

This commit is contained in:
luxick
2018-03-01 21:05:57 +01:00
parent a78c20f078
commit cb129eddd1
8 changed files with 157 additions and 119 deletions

View File

@@ -13,8 +13,7 @@ class DeathHandlers:
return
result = dialogs.show_edit_death_dialog(self.app.ui, ep_id)
if result == Gtk.ResponseType.OK:
self.app.reload_for_season()
self.app.reload_for_episode()
self.app.reload()
def on_penalty_drink_changed(self, _, path, text):
self.app.ui.get_object('player_penalties_store')[path][2] = text