diff options
Diffstat (limited to 'pdf-over-gui')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java index bb1be5d0..456b3d64 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java @@ -261,7 +261,8 @@ public class MobileBKUState extends State { }
}
- getStateMachine().configProvider.setRememberMobilePasswordPersistent(ui.isRememberPassword());
+ if (!(ui.userCancel && ui.isRememberPassword())) /* don't allow "remember" to be enabled via cancel button */
+ getStateMachine().configProvider.setRememberMobilePasswordPersistent(ui.isRememberPassword());
if (ui.userCancel) {
ui.userCancel = false;
|