Move setting the main window title on case change to the EDT

This commit is contained in:
Richard Cordovano 2016-06-10 09:46:41 -04:00
parent 328d262944
commit 0454723d36

View File

@ -1533,8 +1533,8 @@ public class Case implements SleuthkitCase.ErrorObserver {
// close all top components // close all top components
CoreComponentControl.closeCoreWindows(); CoreComponentControl.closeCoreWindows();
} }
});
updateMainWindowTitle(currentCase.getName()); updateMainWindowTitle(currentCase.getName());
});
} else { } else {
SwingUtilities.invokeLater(() -> { SwingUtilities.invokeLater(() -> {
Frame f = WindowManager.getDefault().getMainWindow(); Frame f = WindowManager.getDefault().getMainWindow();