'Resets the model to a new list of hosts.
Use for changing of pages, _not_ for changing of workspaces,
there\'s reset_model_after_workspace_changed for that.'

def reset_model(self, hosts):

    self.model.clear()
    self.host_amount_in_model = 0
    self.host_id_to_iter = {}
    self.add_relevant_hosts_to_model(hosts)
    self.set_move_buttons_sensitivity()
