File size: 1,470 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- ========== GENERATED BY XTemplate Editor (Alt-F3) DO NOT EDIT MANUALLY! ==========

PlaceObj('XTemplate', {
	RequireActionSortKeys = true,
	group = "GedApps",
	id = "GedFXEditor",
	save_in = "Ged",
	PlaceObj('XTemplateTemplate', {
		'__template', "PresetEditor",
	}, {
		PlaceObj('XTemplateAction', {
			'ActionId', "Tools",
			'ActionSortKey', "3",
			'ActionName', T(463447631288, --[[XTemplate GedFXEditor ActionName]] "Tools"),
			'ActionMenubar', "main",
			'OnActionEffect', "popup",
		}, {
			PlaceObj('XTemplateAction', {
				'ActionId', "UseAsFilter",
				'ActionSortKey', "4",
				'ActionName', T(540744150337, --[[XTemplate GedFXEditor ActionName]] "Use as filter"),
				'ActionIcon', "CommonAssets/UI/Ged/filter",
				'ActionToolbar', "main",
				'OnAction', function (self, host, source, ...)
					local panel = host:GetLastFocusedPanel()
					if panel == host.idPresets and panel:GetSelection() then
						host :Op("GedOpFxUseAsFilter", panel.context, panel:GetSelection())
					end
				end,
				'ActionContexts', {
					"PresetsChildAction",
				},
			}),
			PlaceObj('XTemplateAction', {
				'ActionId', "CheckDuplicates",
				'ActionSortKey', "5",
				'ActionName', T(851805571588, --[[XTemplate GedFXEditor ActionName]] "Check duplicates"),
				'ActionIcon', "CommonAssets/UI/Ged/collapse_node",
				'ActionToolbar', "main",
				'OnAction', function (self, host, source, ...)
					host :Op("GedOpFxCheckDuplicates")
				end,
			}),
			}),
		}),
})