1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-02 21:55:51 +00:00

fix enable timeline action only if fx enabled and case open

This commit is contained in:
adam-m
2013-03-25 12:22:03 -04:00
parent 8329c18625
commit e38489d82c

View File

@@ -150,7 +150,6 @@ public class Timeline extends CallableSystemAction implements Presenter.Toolbar,
fxInited = coreInstaller.isJavaFxInited();
}
setEnabled(fxInited);
}
//Swing components and JavafX components don't play super well together
@@ -1030,7 +1029,7 @@ public class Timeline extends CallableSystemAction implements Presenter.Toolbar,
@Override
public boolean isEnabled() {
return Case.isCaseOpen();
return Case.isCaseOpen() && this.fxInited;
}
@Override