Okay. What about this issue: If there’s a sample you’ve just loaded from disk browser in expanded mode, can you make it switch to sample editor display, if disk browser is expanded? does this require a sample buffer change observer, which is only run if the disk browser is expanded?
if renoise.app().window.active_middle_frame==0 then
renoise.song().selected_sample.sample_buffer_observable:add_notifier(function()
renoise.app().window.active_middle_frame=4
end)
end