diff options
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r-- | src/greeter-list.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala index dee584f..add5c3a 100644 --- a/src/greeter-list.vala +++ b/src/greeter-list.vala @@ -462,6 +462,8 @@ public abstract class GreeterList : FadableBox /* Select another entry if the selected one was removed */ if (entry == selected_entry) { + if (entries.length () == 1) + index = 0; if (index >= entries.length () && index > 0) index--; else if (index < entries.length ()) |