Skip to content

Commit

Permalink
FIX: Scorpio crashes loading header menu
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperNiCd committed Mar 20, 2019
1 parent 63f9be4 commit 09c149c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Scorpio.lua
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ local menu = {
}

function Scorpio:onLoadMenu(objects,branches)
local controls = {}

controls.setHeader = MenuHeader {
description = string.format("Display frequency controls: %s.",controlMode)
Expand All @@ -375,7 +376,7 @@ function Scorpio:onLoadMenu(objects,branches)
task = function() self:changeControlMode("yes") end
}

return menu
return controls, menu
end


Expand Down

0 comments on commit 09c149c

Please sign in to comment.