mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
use hasData() instead of removed getRootObjectsCount()> 0
This commit is contained in:
parent
9bc3d30154
commit
36cf7ba569
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user