Prevent export with empty password

This commit is contained in:
M66B
2024-02-17 12:04:42 +01:00
parent 20f0d6142b
commit 2e3687f4f3

View File

@@ -126,7 +126,8 @@ public class FragmentDialogExport extends FragmentDialogBase {
@Override
public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
if (actionId == EditorInfo.IME_ACTION_DONE) {
btnOk.performClick();
if (btnOk.isEnabled())
btnOk.performClick();
return true;
} else
return false;