Ensure the debugger container has focus when loaded. Fixes #3295

This commit is contained in:
Khushboo Vashi 2018-05-09 14:26:50 +01:00 committed by Dave Page
parent 0ffd3d0451
commit ba23ba9b8b

View File

@ -1850,6 +1850,8 @@ define([
self.docker.off(wcDocker.EVENT.LOADED);
// Register the callback when user set/clear the breakpoint on gutter area.
self.editor.on('gutterClick', self.onBreakPoint.bind(self), self);
// Set focus to the debugger container
self.$container.focus();
};
self.docker.startLoading(gettext('Loading...'));