mirror of
https://github.com/slap-editor/slap.git
synced 2024-10-26 13:17:38 +03:00
On startup, focus on editor
This commit is contained in:
parent
ed7ddfce4b
commit
fc891c420b
@ -31,6 +31,12 @@ function EditorPane (opts) {
|
||||
self.saveAsForm = new SaveAsForm({parent: self});
|
||||
self.saveAsCloseForm = new SaveAsCloseForm({parent: self});
|
||||
}
|
||||
EditorPane.prototype.setCurrent = function () {
|
||||
var self = this;
|
||||
Pane.prototype.setCurrent.apply(self, arguments);
|
||||
self.editor.focus();
|
||||
return self;
|
||||
};
|
||||
|
||||
EditorPane.prototype.getTitle = function () {
|
||||
var self = this;
|
||||
|
Loading…
Reference in New Issue
Block a user