IDEA-170477 Do not hide all content of the grid, when grid is not empty

This commit is contained in:
Vitaliy.Bibaev
2017-03-28 19:39:21 +03:00
parent 9af41759c7
commit 737cc21337
@@ -668,7 +668,9 @@ public class RunnerContentUi implements ContentUI, Disposable, CellTransform.Fac
GridImpl grid = (GridImpl)findGridFor(event.getContent());
if (grid != null) {
grid.remove(event.getContent());
grid.processRemoveFromUi();
if (grid.isEmpty()) {
grid.processRemoveFromUi();
}
removeGridIfNeeded(grid);
}
updateTabsUI(false);