Open two documents in Krita, open the scripter and paste this code in:
w=Krita.instance().activeWindow()
print(len(w.views()))
w.showView(w.views()[0])
Press “run” and nothing happens. Replace the 0 with a 1 and try again – still nothing happens. Is this a bug? Is there some workaround I can use to change tab programatically or am I stuck here?
A suitable workaround would be if I could close a view somehow. But I can only close documents and windows AFAICT, not views.
Krita version: 5.2.9