X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=core%2Forg.argeo.suite.ui%2Fsrc%2Forg%2Fargeo%2Fsuite%2Fui%2FSuiteApp.java;h=9a6208b7e0d86ef2e3a120a341e7124e87561e5f;hp=5ca46393daeed6dc5423ec42f7204027e06cc6da;hb=cbf5614674c1013fdcc4ba6f0b9fae700b5f3681;hpb=af39881318e47af8fff3e505b7e89099b20a12e8 diff --git a/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteApp.java b/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteApp.java index 5ca4639..9a6208b 100644 --- a/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteApp.java +++ b/core/org.argeo.suite.ui/src/org/argeo/suite/ui/SuiteApp.java @@ -343,16 +343,11 @@ public class SuiteApp extends AbstractCmsApp implements EventHandler { ui.getCmsView().stateChanged(state, appTitle); return; } - String currentLayerId = ui.getCurrentLayerId(); -// if (state.equals(currentLayerId)) -// return; // does nothing -// else { Map properties = new HashMap<>(); String layerId = HOME_STATE.equals(state) ? defaultLayerPid : state; properties.put(SuiteEvent.LAYER, layerId); properties.put(SuiteEvent.NODE_PATH, HOME_STATE); ui.getCmsView().sendEvent(SuiteEvent.switchLayer.topic(), properties); -// } } return; }