mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
Move setting the main window title on case change to the EDT
This commit is contained in:
parent
328d262944
commit
0454723d36
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user