From 66e6aac50638d1f706f0ddaee1529a7b3cb47075 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Thu, 1 Mar 2018 13:45:40 +0100 Subject: Restore source-editor commands controller for scratchpad & styleeditor menus https://github.com/MoonchildProductions/moebius/pull/290 --- devtools/client/styleeditor/StyleSheetEditor.jsm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'devtools/client/styleeditor/StyleSheetEditor.jsm') diff --git a/devtools/client/styleeditor/StyleSheetEditor.jsm b/devtools/client/styleeditor/StyleSheetEditor.jsm index 980e51974..832fcacde 100644 --- a/devtools/client/styleeditor/StyleSheetEditor.jsm +++ b/devtools/client/styleeditor/StyleSheetEditor.jsm @@ -468,6 +468,9 @@ StyleSheetEditor.prototype = { sourceEditor.container.addEventListener("mousemove", this._onMouseMove); } + // Add the commands controller for the source-editor. + sourceEditor.insertCommandsController(); + this.emit("source-editor-load"); }); }, -- cgit v1.2.3