fix: correct reference to parent page in keyboard toggle event
This commit is contained in:
@@ -287,7 +287,7 @@ local function buildMainPage()
|
||||
eventHandler = function(self, event)
|
||||
if event.type == 'mouse_click' then
|
||||
showKeyboard = not showKeyboard
|
||||
local page = self:getPage()
|
||||
local page = self.parent
|
||||
if showKeyboard then
|
||||
UI.Window.enable(page.keyboard)
|
||||
page.keyboard:draw()
|
||||
|
||||
Reference in New Issue
Block a user