added a missing return if editor is already open.

This commit is contained in:
Jiiks 2018-01-21 11:27:44 +02:00
parent 7add5afc30
commit 6f9f005ed9
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class CSSEditor extends Module {
this.editor.focus();
this.editor.flashFrame(true);
o.reply(true);
return;
}
this.editor = new BrowserWindow(this.options);