projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 161 - Deleting an item that was being edited did not clear the canvas
[osm/UI.git]
/
skyquake
/
plugins
/
composer
/
src
/
src
/
stores
/
ComposerAppStore.js
diff --git
a/skyquake/plugins/composer/src/src/stores/ComposerAppStore.js
b/skyquake/plugins/composer/src/src/stores/ComposerAppStore.js
index
b23db5c
..
c07fffd
100644
(file)
--- a/
skyquake/plugins/composer/src/src/stores/ComposerAppStore.js
+++ b/
skyquake/plugins/composer/src/src/stores/ComposerAppStore.js
@@
-241,7
+241,9
@@
class ComposerAppStore {
}
SelectionManager.select(item);
this.updateItem(item);
- this.openFileManagerSockets(item)
+ if (item) {
+ this.openFileManagerSockets(item);
+ }
}
catalogItemMetaDataChanged(item) {
this.updateItem(item);