Merge remote-tracking branch 'origin/GP-2164-dragonmacher-paste-bytes-message' into patch

This commit is contained in:
Ryan Kurtz 2022-06-14 13:54:01 -04:00
commit d1e39027c3

View File

@ -415,7 +415,7 @@ public abstract class ByteCopier {
return false;
}
// Ask the user before pasting a string into the program. Since having a string in
// Ask the user before pasting a string into the program. Since having a string in
// the clipboard is so common, this is to prevent an accidental paste.
if (!confirmPaste(validString)) {
return true; // the user cancelled; the command is successful
@ -447,7 +447,7 @@ public abstract class ByteCopier {
}
address = address.next();
}
return foundError;
return !foundError;
}
private boolean confirmPaste(String validString) {