Skip to content

Commit

Permalink
Ensure Ctrl+C copy classname when an option was changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jetelain committed Dec 23, 2024
1 parent 9a1d1da commit deb23f2
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 deb23f2

Please sign in to comment.