use hasData() instead of removed getRootObjectsCount()> 0

This commit is contained in:
jmillman 2014-08-18 09:51:13 -04:00
parent 9bc3d30154
commit 36cf7ba569

View File

@ -55,7 +55,7 @@ public final class OpenAction extends CallableSystemAction {
@Override
public boolean isEnabled() {
return Case.isCaseOpen() && fxInited && Case.getCurrentCase().getRootObjectsCount() > 0;
return Case.isCaseOpen() && fxInited && Case.getCurrentCase().hasData();
}
/** Returns the toolbar component of this action