Skip to content

Commit

Permalink
Pylons: Evaluate String Values from config (#5667)
Browse files Browse the repository at this point in the history
  • Loading branch information
654wak654 authored and jonpas committed Oct 24, 2017
1 parent 914ea66 commit e769d09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/pylons/functions/fnc_showDialog.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ GVAR(comboBoxes) = [];
private _combo = _display ctrlCreate [QGVAR(CtrlCombo), -1];
private _picturePos = ctrlPosition (_display displayCtrl ID_PICTURE_AIRCRAFT);
private _uiPos = getArray (_x >> "UIposition");
MAP(_uiPos,if (_x isEqualType 0) then {_x} else {call compile _x}); // Handle string positions
_combo ctrlSetPosition [
(_picturePos select 0) + (_uiPos select 0),
(_picturePos select 1) + (_uiPos select 1),
Expand Down

0 comments on commit e769d09

Please sign in to comment.