There is a bug: when booting PC and trying to log in without choosing session, it selects first installed session instead of previous one. Similiar bug was described in #3.
Fix: before returning 0 (first installed session), try to return sessionModel.lastIndex, as it contains index of previous session.
Greetings.
There is a bug: when booting PC and trying to log in without choosing session, it selects first installed session instead of previous one. Similiar bug was described in #3.
Fix: before returning
0
(first installed session), try to returnsessionModel.lastIndex
, as it contains index of previous session.