Ensure the debugger container has focus when loaded. Fixes #3295
parent
0ffd3d0451
commit
ba23ba9b8b
|
|
@ -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...'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue