mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
5479b6d9c0
8 changed files with 286 additions and 25 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue