[Getan-commits] [PATCH] Fixes multi-selection problem

Wald Commits scm-commit at wald.intevation.org
Thu Jan 18 19:03:28 CET 2018


# HG changeset patch
# User Magnus Schieder <mschieder at intevation.de>
# Date 1516298596 -3600
# Node ID ea2691143d7449b7e2d3b1ce8f17db2362b4ecdb
# Parent  2f8162d50612c7fd7bed82df0087b56862e7aa7f
Fixes multi-selection problem

diff -r 2f8162d50612 -r ea2691143d74 getan/states.py
--- a/getan/states.py	Thu Jan 18 14:10:23 2018 +0100
+++ b/getan/states.py	Thu Jan 18 19:03:16 2018 +0100
@@ -479,6 +479,8 @@
             self.view.clear()
             self.set_next_state(self.projectlist_state)
             self.controller.view.set_focus(0)
+            # Deletes the selection of entries
+            self.view.selection = []
             return True
 
         if keys.get_enter() in key:


More information about the Getan-commits mailing list