fix build
This commit is contained in:
parent
2dea3e2285
commit
107b3beb35
1 changed files with 2 additions and 2 deletions
|
@ -454,8 +454,8 @@ public class ActivitiesPane implements TemplateComposer {
|
|||
private void handleSelection(final PageContext composerCtx, final Event event) {
|
||||
try {
|
||||
final Tree tree = (Tree) event.widget;
|
||||
TreeItem treeItem = (event.item == null && tree.getSelectionCount() == 1)
|
||||
? treeItem = tree.getSelection()[0]
|
||||
final TreeItem treeItem = (event.item == null && tree.getSelectionCount() == 1)
|
||||
? tree.getSelection()[0]
|
||||
: (TreeItem) event.item;
|
||||
|
||||
if (treeItem.getItemCount() > 0 && !treeItem.getExpanded()) {
|
||||
|
|
Loading…
Reference in a new issue