changeset 470:d379f8098bb3

Update project time when deleting an entrie.
author Magnus Schieder <mschieder@intevation.de>
date Tue, 08 May 2018 15:00:31 +0200
parents 050ffdec60d9
children 3853cf82ca3c
files CHANGES getan/states.py
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES	Tue May 08 13:29:45 2018 +0200
+++ b/CHANGES	Tue May 08 15:00:31 2018 +0200
@@ -5,10 +5,11 @@
    you were in. Before, you always got the first project.
    Patch by Magnus Schieder
 
- * You can now see which entries are displayed when you are in the entries
-   list.
-   The project you are in is highlighted in color.
-   The color can be changed in the getanrc with the key "open_project".
+ * Enhanced overview.
+   You can now see which entries are displayed when you are in the entries
+   list. The project you are in is highlighted in color. The color can be
+   changed in the getanrc with the key "open_project".
+   When deleting an entrie the project time is updated.
    Patch by Magnus Schieder
 
  * Updated the source code to the latest version of pyhton (python 3) to better
--- a/getan/states.py	Tue May 08 13:29:45 2018 +0200
+++ b/getan/states.py	Tue May 08 15:00:31 2018 +0200
@@ -592,6 +592,7 @@
             if self.entries:
                 self.controller.delete_entries(self.entries)
                 self.renew_focus()
+                self.projectlist_state.view.update_rows()
             self.view.set_footer_text("", 'entry_footer')
             # avoid creating new DefaultEntryListState and setting focus
             self.set_next_state(self.old_state)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)