We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3fbb1 commit 8778d70Copy full SHA for 8778d70
arduino-ide-extension/src/browser/contributions/open-sketch-files.ts
@@ -184,7 +184,7 @@ export class OpenSketchFiles extends SketchContribution {
184
// The editor is expected to be attached to the shell and visible in the UI.
185
// The deferred promise does not have to wait for the `editorManager#onCreated` event.
186
// It can resolve earlier.
187
- if (!widget) {
+ if (widget) {
188
deferred.resolve(editorWidget);
189
}
190
});
0 commit comments