Skip to content

Commit

Permalink
Merge pull request #1704 from johnb432/fix-context-menu-undefined-unit
Browse files Browse the repository at this point in the history
UI - Fix undefined unit variable for context menu
  • Loading branch information
PabstMirror authored Oct 13, 2024
2 parents 6bcbe12 + e9a73c6 commit b023ded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/ui/fnc_openItemContextMenu.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ private _list = _display ctrlCreate [QGVAR(ItemContextMenu), -1];
private _font = getText (configFile >> QGVAR(ItemContextMenu) >> "font");
private _fontSize = getNumber (configFile >> ctrlClassName _list >> "sizeEx");
private _longestName = "";
private _unit = call CBA_fnc_currentUnit;

// ---
// Populate context menu with options.
Expand Down

0 comments on commit b023ded

Please sign in to comment.