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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user