Merge pull request #1440 from ivanixgames/fix1212c

Fix issue 1212
This commit is contained in:
Paul Kaplan authored and GitHub committed 2018-02-22 14:25:15 -05:00
commit 974a4e70da
1 file changed
+4 -1
+4 -1
View File
@@ -252,7 +252,10 @@ class Blocks extends React.Component {
}
handleCustomProceduresClose (data) {
this.props.onRequestCloseCustomProcedures(data);
this.workspace.refreshToolboxSelection_();
const ws = this.workspace;
ws.refreshToolboxSelection_();
// @todo ensure this does not break on localization
ws.toolbox_.scrollToCategoryByName('My Blocks');
}
render () {
/* eslint-disable no-unused-vars */