fix nonworking retun to deviceoverview on T16 (#7334)

This commit is contained in:
Carsten W
2020-01-25 11:33:56 +01:00
committed by 3djc
parent 8390cbc705
commit 93e8d83a9f
@@ -419,7 +419,7 @@ end
-- Main
local function runDevicePage(event)
if event == EVT_EXIT_BREAK then -- exit script
if event == EVT_VIRTUAL_EXIT then -- exit script
if edit == true then
edit = false
local field = getField(lineIndex)
@@ -451,9 +451,9 @@ local function runDevicePage(event)
end
end
elseif edit then
if event == EVT_VIRTUAL_INC then
if event == EVT_VIRTUAL_INC or event == EVT_VIRTUAL_INC_REPT then
incrField(1)
elseif event == EVT_VIRTUAL_DEC then
elseif event == EVT_VIRTUAL_DEC or event == EVT_VIRTUAL_DEC_REPT then
incrField(-1)
end
else