Squashed 'deps/nostalgia/' changes from 857587c1..37cfa927

37cfa927 [nostalgia/gfx] Address a couple of implicit conversions
0efed70b [studio] Fix Studio to clear editor pointers when opening a new project
baf5fa31 [nostalgia] Move d2025.05.2 release notes to d2025.06.0

git-subtree-dir: deps/nostalgia
git-subtree-split: 37cfa927d1d63390d91a6c4b98021023552dd980
This commit is contained in:
2025-06-21 14:29:47 -05:00
parent 7371df4295
commit 6bbcae10cc
4 changed files with 11 additions and 8 deletions

View File

@@ -649,6 +649,9 @@ ox::Error StudioUI::openProjectPath(ox::StringParam path) noexcept {
ox::make_unique_catch<Project>(keelCtx(m_tctx), std::move(path), m_projectDataDir)
.moveTo(m_project));
m_sctx.project = m_project.get();
m_activeEditor = nullptr;
m_activeEditorOnLastDraw = nullptr;
m_activeEditorUpdatePending = nullptr;
turbine::setWindowTitle(
m_tctx, ox::sfmt("{} - {}", keelCtx(m_tctx).appName, m_project->projectPath()));
m_deleteConfirmation.deleteFile.connect(m_sctx.project, &Project::deleteItem);