Commit 2c700c1a authored by alex@thinkpad's avatar alex@thinkpad
Browse files

api_test.lua: on EOS M, the INFO button may get us out of LiveView

(fixes API test about ML overlay status)

--HG--
branch : lua_fix
parent 085b79c2b1d8
......@@ -1201,7 +1201,7 @@ function test_lv()
key.press(KEY.INFO)
sleep(0.2); print_overlays_status()
sleep(1)
if lv.overlays ~= 1 then
if lv.enabled and lv.overlays ~= 1 then
-- Canon overlays disabled?
-- Enable ML overlays
assert(menu.set("Overlay", "Global Draw", "ON"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment