comparison getan/states.py @ 476:63ce8e017828

Updates the project time when the entrie time is adjusted.
author Magnus Schieder <mschieder@intevation.de>
date Wed, 09 May 2018 18:56:22 +0200
parents 0d831a9f547b
children 950bfe89ec3d
comparison
equal deleted inserted replaced
475:1855b1ef2834 476:63ce8e017828
918 entry = self.entry 918 entry = self.entry
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 return self.exit() 924 return self.exit()
924 925
925 def exit(self): 926 def exit(self):
926 self.view.set_footer_text("", 'entry_footer', False) 927 self.view.set_footer_text("", 'entry_footer', False)
927 self.set_next_state(DefaultEntryListState(self.state, self.controller, 928 self.set_next_state(DefaultEntryListState(self.state, self.controller,
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)