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,6 +183,7 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven
[super setActiveUser:activeUser]; [super setActiveUser:activeUser];
if (activeUser)
[MPMacConfig get].usedUserName = activeUser.name; [MPMacConfig get].usedUserName = activeUser.name;
PearlMainQueue( ^{ PearlMainQueue( ^{