summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-07 19:37:30 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-07 19:37:30 +0000
commit190fc0a1f75cb763fcefcf6cc0c0d59ffc7d0b2e (patch)
treeb232899d917d3691e24ed01df9b446190fc482da /src/windows.py
parent9671db59807932ba1ed914d092d00a63dd7280ae (diff)
downloadpoezio-190fc0a1f75cb763fcefcf6cc0c0d59ffc7d0b2e.tar.gz
poezio-190fc0a1f75cb763fcefcf6cc0c0d59ffc7d0b2e.tar.bz2
poezio-190fc0a1f75cb763fcefcf6cc0c0d59ffc7d0b2e.tar.xz
poezio-190fc0a1f75cb763fcefcf6cc0c0d59ffc7d0b2e.zip
fix 'j' on MucListTab when row number 0 is selected
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index 28748a73..81f81f60 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1307,7 +1307,7 @@ class ListWin(Win):
"""
Return the tuple representing the selected row
"""
- if self._selected_row:
+ if self._selected_row is not None:
return self.lines[self._selected_row]
return None