From 8f8dd177954fa57cac075221808dde6e88e9aaca Mon Sep 17 00:00:00 2001 From: dijksterhuis <11841332+dijksterhuis@users.noreply.github.com> Date: Mon, 2 Sep 2024 06:44:49 +0100 Subject: [PATCH] TaskRoster: Fixup: Delete local map marker on page unload. --- mission/config/ui/taskroster/requestSupport/ui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/config/ui/taskroster/requestSupport/ui.hpp b/mission/config/ui/taskroster/requestSupport/ui.hpp index ca2fe683..161325ba 100644 --- a/mission/config/ui/taskroster/requestSupport/ui.hpp +++ b/mission/config/ui/taskroster/requestSupport/ui.hpp @@ -111,7 +111,7 @@ class vn_tr_disp_showRequestSupport name = "vn_tr_disp_showRequestSupport"; //If already opened -> Recalling it -> Reloading the Dialog (e.g. like updating the view, without "closing" it) onLoad = "[""onLoad"",_this,""vn_tr_disp_showRequestSupport"",''] call (uinamespace getvariable 'BIS_fnc_initDisplay'); call vn_mf_fnc_tr_supportTask_show;"; - onUnload = "[""onUnload"",_this,""vn_tr_disp_showRequestSupport"",''] call (uinamespace getvariable 'BIS_fnc_initDisplay');"; + onUnload = "[""onUnload"",_this,""vn_tr_disp_showRequestSupport"",''] call (uinamespace getvariable 'BIS_fnc_initDisplay'); call vn_mf_fnc_tr_supportTask_map_hide;"; idd = -1; movingEnable = 1; enableSimulation = 1;