comparison getan/states.py @ 478:950bfe89ec3d

Updates "All project" time when the entrie time is adjusted. Displays the correct total time.
author Magnus Schieder <mschieder@intevation.de>
date Fri, 11 May 2018 14:27:48 +0200
parents 63ce8e017828
children 75131561d098
comparison
equal deleted inserted replaced
477:217630a03b58 478:950bfe89ec3d
919 entry.end = entry.start + duration 919 entry.end = entry.start + duration
920 920
921 self.controller.update_entry(entry) 921 self.controller.update_entry(entry)
922 self.view.node_in_focus().update() 922 self.view.node_in_focus().update()
923 self.controller.view.proj_list.update_rows() 923 self.controller.view.proj_list.update_rows()
924 self.controller.project_view.show_total_time()
924 return self.exit() 925 return self.exit()
925 926
926 def exit(self): 927 def exit(self):
927 self.view.set_footer_text("", 'entry_footer', False) 928 self.view.set_footer_text("", 'entry_footer', False)
928 self.set_next_state(DefaultEntryListState(self.state, self.controller, 929 self.set_next_state(DefaultEntryListState(self.state, self.controller,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)