From e9a73c6ed036242e898e4d29d14dbb337d24ddd8 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Sat, 12 Oct 2024 22:30:30 +0200 Subject: [PATCH] Update fnc_openItemContextMenu.sqf --- addons/ui/fnc_openItemContextMenu.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/ui/fnc_openItemContextMenu.sqf b/addons/ui/fnc_openItemContextMenu.sqf index c99cdf305..b405bb25a 100644 --- a/addons/ui/fnc_openItemContextMenu.sqf +++ b/addons/ui/fnc_openItemContextMenu.sqf @@ -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.