From 8e9323bbd8ccbfaf83438ecf7bbf20428e6b9208 Mon Sep 17 00:00:00 2001 From: Loredana Liccardo Date: Tue, 15 Jul 2014 16:03:38 +0000 Subject: [PATCH] bug fixed in GxtBorderLayoutPanel git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98661 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/panels/GxtBorderLayoutPanel.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java b/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java index a76015d..d4cf50f 100644 --- a/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java +++ b/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java @@ -1077,8 +1077,14 @@ public class GxtBorderLayoutPanel extends ContentPanel { public void componentSelected(ButtonEvent ce) { // TODO Auto-generated method stub - //fire event - eventBus.fireEvent(new SelectedTableEvent()); + if (selectedTable != null){ + + //fire event + eventBus.fireEvent(new SelectedTableEvent()); + + } + + // Listener l = new Listener() { //