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
CoreComponentControl.closeCoreWindows();
}
updateMainWindowTitle(currentCase.getName());
});
updateMainWindowTitle(currentCase.getName());
} else {
SwingUtilities.invokeLater(() -> {
Frame f = WindowManager.getDefault().getMainWindow();