<?xml version="1.0" encoding="UTF-8" ?>

<!-- autopilot dialog selector -->
<!-- Copyright (c) 2020 Sascha Reißner (WoodSTokk), Josh Davidson (Octal450) -->

<PropertyList>

	<name>autopilot</name>
	<width>150</width>
	<height>25</height>
	<text>
		<halign>middle</halign>
		<label>Autopilot loaded</label>
	</text>

	<nasal>
		<open>
			acconfig.openAPDialog();
			var dialog = props.Node.new( { "dialog-name" : "autopilot" } );
			settimer( func{ fgcommand("dialog-close", dialog); }, 0.01);
		</open>
	</nasal>

</PropertyList>
