Open zpaolo11x opened 5 years ago
This should be relatively easy to implement by adding a 3rd boolean parameter to reload set_display function set to true as default. Is it that what you need?
If the boolean will allow to change display without reloading the layout then yes, that's what I'd like to have :)
Yes that's what I'm thinking about. Btw, are you on our Discord server yet? https://discord.gg/NdNkej
If a layout changes display using "fe.set_display(n)" the entire layout is reloaded. When the display is changed using the displays menu or the hot keys the layout is not reloaded and only the lists are updated.
I think both approaches are useful: I have a layout where I want to change displays without reloading everything, since the layout is already reactive. But there might be layouts where one wants to reload the layout each time a display is changed.
There should be a way to do all this: of course one can grab signals for next display and prev display and force layout reload, but there's not a way to select a display and not reloading the layout (except with displays menu)