X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/880c488dbdf310c616a237274d84d93517403372..e1d56851ab750cfa9a76574f84dd94da24b2d264:/src/editor/modules/documentCanvas/canvas/wlxmlListener.js?ds=sidebyside diff --git a/src/editor/modules/documentCanvas/canvas/wlxmlListener.js b/src/editor/modules/documentCanvas/canvas/wlxmlListener.js index f932ea0..7d19e94 100644 --- a/src/editor/modules/documentCanvas/canvas/wlxmlListener.js +++ b/src/editor/modules/documentCanvas/canvas/wlxmlListener.js @@ -23,6 +23,10 @@ $.extend(Listener.prototype, { } }, this); + wlxmlDocument.on('operationEnd', function() { + this.canvas.triggerSelectionChanged(); + }, this); + wlxmlDocument.on('contentSet', function() { this.canvas.loadWlxmlDocument(wlxmlDocument); }, this);