8000 Fixed clear state.selectedFiles. · arduino/lab-micropython-editor@3a67bbb · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a67bbb

Browse files
committed
Fixed clear state.selectedFiles.
Signed-off-by: ubi de feo <me@ubidefeo.com>
1 parent 689863a commit 3a67bbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/arduino/store.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,7 @@ async function store(state, emitter) {
12091209
// append it to the list of files that are already open
12101210
filesAlreadyOpen.push(alreadyOpen)
12111211
}
1212+
12121213
}
12131214

12141215
// If opening an already open file, switch to its tab
@@ -1221,7 +1222,7 @@ async function store(state, emitter) {
12211222
}
12221223

12231224
state.openFiles = state.openFiles.concat(filesToOpen)
1224-
1225+
state.selectedFiles = []
12251226
state.view = 'editor'
12261227
updateMenu()
12271228
emitter.emit('render')

0 commit comments

Comments
 (0)
0