Better fix to Mac user getting logged out after the app is locked.
This commit is contained in:
parent
af7327555c
commit
00ad9d59ca
@ -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( ^{
|
||||||
|
Loading…
Reference in New Issue
Block a user