code
code copied to clipboard
New Window: do not restore docs, do not duplicate projects
Fixes #1140 Fixes #1141 (bitesize)
Should probably make "New Window" an app action but that can be left to another PR.
Hmm, I guess I always considered the Application class to be responsible for creating and managing windows. But in this case the Application class does not do anything other than create the window so I guess it does not need to be there. I'll check if there are any drawbacks in moving it.
@danrabbit I have taken the opportunity to simplify window creation a little.
Closing as too many changes since this was proposed.