Skip to content

Commit

Permalink
Merge pull request #1530 from CBATeam/context-menu-tooltip
Browse files Browse the repository at this point in the history
UI - Fix context menu item tooltip
  • Loading branch information
PabstMirror authored Mar 5, 2022
2 parents bec3b71 + 31f9f55 commit c4ae71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ui/fnc_openItemContextMenu.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private _list = _display ctrlCreate [QGVAR(ItemContextMenu), -1];

if ((_slot in _slots || {"ALL" in _slots}) && {_args call _conditionShow}) then {
private _index = _list lbAdd _displayName;
_list lbSetTooltip [_index, "_tooltip"]; // Does not seem to work for RscDisplayInventory controls? Hard coded overwrite?
_list lbSetTooltip [_index, _tooltip]; // Does not seem to work for RscDisplayInventory controls? Hard coded overwrite?

private _key = format [QGVAR(OptionData%1), _index];

Expand Down

0 comments on commit c4ae71a

Please sign in to comment.