mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Moved Mode object instantiation to optimize.
This commit is contained in:
parent
9695ea496f
commit
6f85d9832e
@ -54,10 +54,10 @@ public final class AutoIngestDashboardTopComponent extends TopComponent {
|
|||||||
if (tc != null) {
|
if (tc != null) {
|
||||||
topComponentInitialized = true;
|
topComponentInitialized = true;
|
||||||
WindowManager.getDefault().isTopComponentFloating(tc);
|
WindowManager.getDefault().isTopComponentFloating(tc);
|
||||||
Mode mode = WindowManager.getDefault().findMode("dashboard"); // NON-NLS
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (tc.isOpened() == false) {
|
if (tc.isOpened() == false) {
|
||||||
|
Mode mode = WindowManager.getDefault().findMode("dashboard"); // NON-NLS
|
||||||
if (mode != null) {
|
if (mode != null) {
|
||||||
mode.dockInto(tc);
|
mode.dockInto(tc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user