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 954f9cf commit befd117Copy full SHA for befd117
ui/arduino/store.js
@@ -369,7 +369,7 @@ async function store(state, emitter) {
369
emitter.on('close-tab', (id) => {
370
log('close-tab', id)
371
const currentTab = state.openFiles.find(f => f.id === id)
372
- if (currentTab.hasChanges && currentTab.parentFolder !== null) {
+ if (currentTab.hasChanges) {
373
let response = confirm("Your file has unsaved changes. Are you sure you want to proceed?")
374
if (!response) return false
375
}
0 commit comments