2
0

Better fix to Mac user getting logged out after the app is locked.

This commit is contained in:
Maarten Billemont 2016-07-21 20:03:47 -04:00
parent af7327555c
commit 00ad9d59ca

View File

@ -183,7 +183,8 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven
[super setActiveUser:activeUser]; [super setActiveUser:activeUser];
[MPMacConfig get].usedUserName = activeUser.name; if (activeUser)
[MPMacConfig get].usedUserName = activeUser.name;
PearlMainQueue( ^{ PearlMainQueue( ^{
[self updateUsers]; [self updateUsers];