Fix MIDI Timestretch
[ardour.git] / scripts / _toggle_monitor_section.lua
index f8f32c6467bf00612cdc4899f23ea0d7689fcecb..e097a94a323f59fe3242b41d3f128635399e5371 100644 (file)
@@ -2,10 +2,8 @@ ardour { ["type"] = "Snippet", name = "Toggle Monitor Section" }
 
 function factory () return function () 
        if Session:monitor_out():isnil() then
-               Session:add_monitor_section ()
                ARDOUR.config():set_use_monitor_bus (true)
        else
-               Session:remove_monitor_section ()
                ARDOUR.config():set_use_monitor_bus (false)
                collectgarbage ()
        end