Header: swap Targets/Scout Flights order, separator before the strike button

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Dominik Moritz Roth 2026-08-09 20:27:55 +02:00
parent c74a8eefea
commit 77fe6a2948

View File

@ -274,11 +274,13 @@ class MainWindow(Adw.ApplicationWindow):
("Units", self._build_units_popover),
("Spotters", self._build_spotters_popover),
("Reference Points", self._build_rp_popover),
("Targets", self._build_targets_popover),
("Scout Flights", self._build_scout_flights_popover),
("Targets", self._build_targets_popover),
):
header.pack_start(self._make_menu_button(label, popover_builder))
header.pack_start(Gtk.Separator(orientation=Gtk.Orientation.VERTICAL))
strike_btn = Gtk.Button(icon_name="find-location-symbolic")
strike_btn.set_tooltip_text("Add strike")
strike_btn.connect("clicked", lambda _b: self._add_strike())