Skip to content

Commit

Permalink
Merge pull request #65 from jetelain/fix-classname-copy
Browse files Browse the repository at this point in the history
Ensure Ctrl+C copy classname when an option was changed
  • Loading branch information
jetelain authored Dec 23, 2024
2 parents 9a1d1da + deb23f2 commit 91f1fb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/arsenal/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,9 @@ class GVAR(valueButton): RscButton {
colorBackgroundActive[] = {ACTIVE_BG_COLOR};
colorDisabled[] = {DISABLED_TEXT_COLOR};
colorBackgroundDisabled[] = {INVISIBLE_COLOR};

// Simulate focus on items list
// to ensure ctrl+c will copy the class name and not the loadout
onSetFocus = QUOTE(ace_arsenal_leftTabFocus = true);
onKillFocus = QUOTE(ace_arsenal_leftTabFocus = false);
};

0 comments on commit 91f1fb1

Please sign in to comment.