Commit 4241d37c authored by Ujjwal Kumar's avatar Ujjwal Kumar Committed by Evan W. Patton

Fix palette not showing when removing screen from blocks editor

parent f262dc62
...@@ -204,6 +204,7 @@ public abstract class ProjectEditor extends Composite { ...@@ -204,6 +204,7 @@ public abstract class ProjectEditor extends Composite {
fileIds.remove(index); fileIds.remove(index);
deckPanel.remove(fileEditor); deckPanel.remove(fileEditor);
if (selectedFileEditor == fileEditor) { if (selectedFileEditor == fileEditor) {
selectedFileEditor.onHide();
selectedFileEditor = null; selectedFileEditor = null;
} }
fileEditor.onClose(); fileEditor.onClose();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment