[Getan-commits] [PATCH] Update project time when deleting an entrie

Wald Commits scm-commit at wald.intevation.org
Tue May 8 15:09:54 CEST 2018


# HG changeset patch
# User Magnus Schieder <mschieder at intevation.de>
# Date 1525784431 -7200
# Node ID d379f8098bb362f0585dff20b6b87ef72846bac9
# Parent  050ffdec60d972aa2d820c13c39d229b5f43eb04
Update project time when deleting an entrie.

diff -r 050ffdec60d9 -r d379f8098bb3 CHANGES
--- 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
diff -r 050ffdec60d9 -r d379f8098bb3 getan/states.py
--- 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)


More information about the Getan-commits mailing list