diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-01 13:45:40 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-01 13:45:40 +0100 |
commit | 66e6aac50638d1f706f0ddaee1529a7b3cb47075 (patch) | |
tree | 61a0b0676d480c1e2253950312936deb1d0938b2 /devtools/client/scratchpad | |
parent | 03f6e7acb3f7907a932926f2f62659eafd04e866 (diff) | |
download | UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar.gz UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar.lz UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.tar.xz UXP-66e6aac50638d1f706f0ddaee1529a7b3cb47075.zip |
Restore source-editor commands controller for scratchpad & styleeditor menus
https://github.com/MoonchildProductions/moebius/pull/290
Diffstat (limited to 'devtools/client/scratchpad')
-rw-r--r-- | devtools/client/scratchpad/scratchpad.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/client/scratchpad/scratchpad.js b/devtools/client/scratchpad/scratchpad.js index b210e3906..60221f39d 100644 --- a/devtools/client/scratchpad/scratchpad.js +++ b/devtools/client/scratchpad/scratchpad.js @@ -1744,6 +1744,9 @@ var Scratchpad = { this.editor.focus(); this.editor.setCursor({ line: lines.length, ch: lines.pop().length }); + // Add the commands controller for the source-editor. + this.editor.insertCommandsController(); + if (state) this.dirty = !state.saved; |