diff getan/states.py @ 142:d88240a3a065

Add global key to switch sorting of the project list
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 01 Nov 2012 11:30:08 +0100
parents 6a19e721fbd1
children ccd47a2d37a6
line wrap: on
line diff
--- a/getan/states.py	Thu Nov 01 11:29:35 2012 +0100
+++ b/getan/states.py	Thu Nov 01 11:30:08 2012 +0100
@@ -37,6 +37,10 @@
             self.view.switch_time_mode()
             return self
 
+        if 'f2' in key:
+            self.view.switch_project_order()
+            return self
+
         if 'tab' in key:
             if not self.controller.entries_view.rows:
                 return self
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)