fix error in error message formatting

develop
Myk Taylor 2022-12-14 17:51:07 -08:00
parent 7505b6bd8e
commit 434e9322cc
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -325,7 +325,7 @@ function Pages:setSelected(idx)
end end
idx = utils.linear_index(self.subviews, key) idx = utils.linear_index(self.subviews, key)
if not idx then if not idx then
error('Unknown page: '..key) error('Unknown page: '..tostring(key))
end end
end end