Skip to content

Commit bc53b85

Browse files
authored
Merge pull request #159 from arduino/fix/board-menu-update-when-opening-file
Update Board menu when opening files from File view.
2 parents 2bd51bb + 5c153c0 commit bc53b85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/arduino/store.js

+1
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,7 @@ async function store(state, emitter) {
11981198
state.openFiles = state.openFiles.concat(filesToOpen)
11991199

12001200
state.view = 'editor'
1201+
updateMenu()
12011202
emitter.emit('render')
12021203
})
12031204
emitter.on('open-file', (source, file) => {

0 commit comments

Comments
 (0)