Fix wrong debug message

This commit is contained in:
Armin Schrenk
2022-03-24 12:27:38 +01:00
parent ba514c8896
commit 1f0c12ef7a

View File

@@ -129,8 +129,11 @@ public class PassphraseEntryController implements FxController {
}
private void windowClosed(WindowEvent windowEvent) {
LOG.debug("Unlock canceled by user.");
result.cancel(true);
if(!result.isDone()) {
result.cancel(true);
LOG.debug("Unlock canceled by user.");
}
}
@FXML