aboutsummaryrefslogtreecommitdiff
path: root/src/greeter-list.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r--src/greeter-list.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala
index add5c3a..62f3681 100644
--- a/src/greeter-list.vala
+++ b/src/greeter-list.vala
@@ -464,7 +464,7 @@ public abstract class GreeterList : FadableBox
{
if (entries.length () == 1)
index = 0;
- if (index >= entries.length () && index > 0)
+ else if (index >= entries.length () && index > 0)
index--;
else if (index < entries.length ())
index++;