change API of EditorSections to take an EditingContext& at construction

Then use this instead of PublicEditor::instance() in its code, mostly.
This commit is contained in:
Paul Davis 2025-05-14 11:35:53 -06:00
parent 316947f7dc
commit a8b4345d8f
3 changed files with 14 additions and 10 deletions

View file

@ -540,7 +540,7 @@ Editor::Editor ()
_routes = new EditorRoutes ();
_regions = new EditorRegions (this);
_sources = new EditorSources (this);
_sections = new EditorSections ();
_sections = new EditorSections (*this);
_snapshots = new EditorSnapshots ();
_locations = new EditorLocations (this);
_properties_box = new SelectionPropertiesBox ();