Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2024-04-11 15:58:11 +08:00
commit 5479b6d9c0
8 changed files with 286 additions and 25 deletions

View file

@ -908,6 +908,10 @@ VariablesView.prototype = {
// Copy current selection to clipboard.
if (e.ctrlKey || e.metaKey) {
let item = this.getFocusedItem();
if (!item) {
// No item is selected; do nothing.
return;
}
clipboardHelper.copyString(
item._nameString + item.separatorStr + item._valueString
);