summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
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