changeset 280:44a5fe190ab6

Show total when a entry is changed
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 12 Apr 2013 09:40:16 +0200
parents 2cef4ba1207a
children 7efdacb66dee
files getan/states.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/states.py	Fri Apr 12 09:39:37 2013 +0200
+++ b/getan/states.py	Fri Apr 12 09:40:16 2013 +0200
@@ -424,6 +424,7 @@
         self.controller.stop_project(text)
         self.controller.view.set_footer_text(self.msg('choose_proj'), 'question')
         self.set_next_state(PausedProjectsState(self.controller, self.view))
+        self.view.show_total_time()
         return True
 
     def exit(self):
@@ -537,6 +538,7 @@
             self.view.set_footer_text("", 'entry_footer')
             self.set_next_state(DefaultEntryListState(self.projectlist_state,
                 self.controller, self.view))
+            self.controller.project_view.show_total_time()
             return True
 
         if 'n' in key:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)