Close initial untitled window when opening a sketch (#1117) by AbhishekTiwari9926 · Pull Request #1489 · processing/processing4
Fixes #1117
When opening a sketch via File → Open or direct file launch,
the initial untitled window now closes automatically if:
- It is the only open editor
- It is untitled and unmodified
Examples browser behavior is preserved — the untitled window
stays open when browsing examples, so it can serve as a reference.
Tested on Windows with File → Open scenario.