8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78afa75 commit 110193aCopy full SHA for 110193a
ui/arduino/store.js
@@ -1627,9 +1627,7 @@ async function store(state, emitter) {
1627
const tabExists = state.openFiles.find(f => f.parentFolder === newFile.parentFolder && f.fileName === newFile.fileName && f.source === newFile.source)
1628
if (tabExists || fullPathExists) {
1629
const confirmation = await confirmDialog(`File ${newFile.fileName} already exists on ${source}. Please choose another name.`, 'OK')
1630
- if (!confirmation) {
1631
- return false
1632
- }
+ return false
1633
}
1634
// LEAK > listeners keep getting added and not removed when tabs are closed
1635
// additionally I found that closing a tab has actually added an extra listener
0 commit comments