mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Open an untitled buffer when pathToOpen is null or undefined
This commit is contained in:
parent
c3fe8da945
commit
b9bd3713ee
@ -1376,6 +1376,8 @@ or use Pane::saveItemAs for programmatic saving.`)
|
|||||||
for (const {location, stats} of locationStats) {
|
for (const {location, stats} of locationStats) {
|
||||||
const {pathToOpen} = location
|
const {pathToOpen} = location
|
||||||
if (!pathToOpen) {
|
if (!pathToOpen) {
|
||||||
|
// Untitled buffer
|
||||||
|
fileLocationsToOpen.push(location)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user