mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
wizard fix: do not run ingest if wizard window closed
This commit is contained in:
parent
621be241ef
commit
1ed0e1878a
@ -164,7 +164,7 @@ class AddImageWizardPanel3 implements WizardDescriptor.Panel<WizardDescriptor> {
|
||||
//save previously selected config
|
||||
ingestConfig.save();
|
||||
|
||||
final boolean cancelled = settings.getValue() == WizardDescriptor.CANCEL_OPTION;
|
||||
final boolean cancelled = settings.getValue() == WizardDescriptor.CANCEL_OPTION || settings.getValue() == WizardDescriptor.CLOSED_OPTION;
|
||||
//start / enqueue ingest if next/finish pressed
|
||||
if (! cancelled && newImage != null) {
|
||||
ingestConfig.setImage(newImage);
|
||||
|
Loading…
x
Reference in New Issue
Block a user