From e769d092afaf9b8895daee95db2765a66678cf6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20E=C4=9Fitmen?= Date: Tue, 24 Oct 2017 19:22:02 +0300 Subject: [PATCH] Pylons: Evaluate String Values from config (#5667) --- addons/pylons/functions/fnc_showDialog.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/pylons/functions/fnc_showDialog.sqf b/addons/pylons/functions/fnc_showDialog.sqf index 3633d40a14a..3e2cf8a4a83 100644 --- a/addons/pylons/functions/fnc_showDialog.sqf +++ b/addons/pylons/functions/fnc_showDialog.sqf @@ -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),