Revision 84ab8cb0
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/menu/CdmPreferencePage.java | ||
---|---|---|
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
private void initSession() { |
49 |
previousCdmEntitySession = CdmStore.getCurrentSessionManager().getActiveSession(); |
|
50 |
bindNullSession(); |
|
49 |
if (CdmStore.isActive()){ |
|
50 |
previousCdmEntitySession = CdmStore.getCurrentSessionManager().getActiveSession(); |
|
51 |
bindNullSession(); |
|
52 |
} |
|
53 |
|
|
51 | 54 |
} |
52 | 55 |
|
53 | 56 |
private void bindNullSession() { |
Also available in: Unified diff
fix #6215: check for datasource when opening preferencepage