Only update the focus of a List if it has some rows.
This fixes a chash while switching to an empty entry list
author |
Björn Ricks <bjoern.ricks@intevation.de> |
date |
Wed, 25 May 2011 13:29:58 +0200 |
parents |
f5426961a380 |
children |
fa53e2ec484d |
rev |
line source |
29
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
1 syntax: glob |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
2 |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
3 *.orig |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
4 *.rej |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
5 *~ |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
6 *.pyc |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
7 *.swp |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
8 \#*\# |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
9 .\#* |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
10 getan.log |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
11 time.db |
Thomas Arendsen Hein <thomas@intevation.de>
parents:
diff
changeset
|
12 urwid |