not update sidebar for deleted tab

This commit is contained in:
Hiroyasu Nishiyama 2020-05-19 09:27:50 +09:00
parent e674d9246b
commit 12c92072d0
1 changed files with 3 additions and 1 deletions

View File

@ -220,7 +220,9 @@ RED.workspaces = (function() {
if (RED.view.state() != RED.state.IMPORT_DRAGGING) {
RED.view.state(RED.state.DEFAULT);
}
RED.sidebar.info.refresh(workspace);
if (workspace_tabs.contains(workspace.id)) {
RED.sidebar.info.refresh(workspace);
}
tabflowEditor.destroy();
}
}