System GPS page bugfix

This commit is contained in:
kepler155c@gmail.com 2018-04-01 20:03:07 -04:00
parent bbcb8ecd6e
commit 4836a6a3a2
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ if turtle then
systemPage:sync()
if Home.set() then
Config.load('gps', values)
self.grid:setValues(values.home or { })
self.grid:setValues(values.home and { values.home } or { })
self.grid:draw()
systemPage.notification:success('Location set')
else