summaryrefslogtreecommitdiff
path: root/src/waypoint_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r--src/waypoint_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index bca642b3d..0ece60177 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -54,6 +54,11 @@ private:
}
public:
+ /**
+ * Construct the window.
+ * @param desc The description of the window.
+ * @param window_number The window number, in this case the waypoint's ID.
+ */
WaypointWindow(const WindowDesc *desc, WindowNumber window_number) : Window()
{
this->wp = Waypoint::Get(window_number);