diff --git a/src/Classes/PopupDialog.lua b/src/Classes/PopupDialog.lua index 5366c140dc..9e5d97edec 100644 --- a/src/Classes/PopupDialog.lua +++ b/src/Classes/PopupDialog.lua @@ -60,6 +60,7 @@ function PopupDialogClass:Draw(viewPort) end function PopupDialogClass:ProcessInput(inputEvents, viewPort) + self:ProcessControlsInput(inputEvents, viewPort) for id, event in ipairs(inputEvents) do if event.type == "KeyDown" then if event.key == "ESCAPE" then @@ -83,5 +84,4 @@ function PopupDialogClass:ProcessInput(inputEvents, viewPort) end end end - self:ProcessControlsInput(inputEvents, viewPort) end \ No newline at end of file