Skip to content

Commit

Permalink
Return true if filterExecCopyPaste succeeds for pasteSpecial.
Browse files Browse the repository at this point in the history
Or it opens 2 instances of the popup.

Signed-off-by: Gökay Şatır <[email protected]>
Change-Id: Id091775cef6b7f162c9ffd99d119a3d7c64085da
  • Loading branch information
gokaysatir authored and vmiklos committed Dec 3, 2024
1 parent 40a8163 commit 7168663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/src/map/Clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ L.Clipboard = L.Class.extend({
this._execCopyCutPaste('paste', cmd);
} else if (cmd === '.uno:PasteSpecial') {
if (this._navigatorClipboardRead(true)) {
return;
return true;
}
this._openPasteSpecialPopup();
} else {
Expand Down

0 comments on commit 7168663

Please sign in to comment.