mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Remove no images dialog, just run the wizard when case is created
This commit is contained in:
parent
1506ecfcd0
commit
cbc0e4044f
@ -715,22 +715,13 @@ public class Case {
|
||||
* a dialog offering to add one.
|
||||
*/
|
||||
private static void noRootObjectsNotification() {
|
||||
final NotifyDescriptor nd = new NotifyDescriptor(
|
||||
"This case contains no images. Would you like to add one?",
|
||||
"No images in case", NotifyDescriptor.YES_NO_OPTION,
|
||||
NotifyDescriptor.INFORMATION_MESSAGE,
|
||||
null,
|
||||
NotifyDescriptor.YES_OPTION);
|
||||
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if (DialogDisplayer.getDefault().notify(nd) == NotifyDescriptor.YES_OPTION) {
|
||||
final AddImageAction action = Lookup.getDefault().lookup(AddImageAction.class);
|
||||
action.actionPerformed(null);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user