fix crash with new users
This commit is contained in:
parent
074e7586e6
commit
7a53b4a4c7
|
@ -158,6 +158,9 @@ namespace session
|
|||
lastRunVersion = get_user_setting("LastRunVersion")
|
||||
if isValid(lastRunVersion)
|
||||
session.user.Update("LastRunVersion", lastRunVersion)
|
||||
else
|
||||
' new user whos never ran the app before. update lastrunversion in registry
|
||||
set_user_setting("LastRunVersion", m.global.app.lastRunVersion)
|
||||
end if
|
||||
|
||||
' update user session settings with values from registry
|
||||
|
|
Loading…
Reference in New Issue
Block a user