# HG changeset patch # User Björn Ricks # Date 1351765808 -3600 # Node ID d88240a3a0654e4f12fc2bcb53f812a8cca3fd49 # Parent dafff6c3fa123465cf027a4a9806de42d1d8d518 Add global key to switch sorting of the project list diff -r dafff6c3fa12 -r d88240a3a065 INTRODUCTION --- a/INTRODUCTION Thu Nov 01 11:29:35 2012 +0100 +++ b/INTRODUCTION Thu Nov 01 11:30:08 2012 +0100 @@ -11,6 +11,7 @@ | space | Pause a running project (the time that will be inserted into database is the real running time without the break. | F1 | Switch time display mode in ProjectList. +| F2 | Switch sorting of entries in ProjectList. | d | Delete marked entries (in EntryList). | m | Start the 'wizzard' to move selected entries to another project. diff -r dafff6c3fa12 -r d88240a3a065 getan/states.py --- 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