diff --git a/src/olympic/studio/applib/src/studioapp.cpp b/src/olympic/studio/applib/src/studioapp.cpp index 9d4130a2..827979d5 100644 --- a/src/olympic/studio/applib/src/studioapp.cpp +++ b/src/olympic/studio/applib/src/studioapp.cpp @@ -377,6 +377,11 @@ ox::Error StudioUI::handleMoveFile(ox::StringViewCR oldPath, ox::StringViewCR ne for (auto &f : m_openFiles) { if (f == oldPath) { f = newPath; + editConfig(keelCtx(m_sctx), [&](StudioConfig &cfg) { + auto p = find(cfg.openFiles.begin(), cfg.openFiles.end(), oldPath); + *p = newPath; + cfg.activeTabItemName = newPath; + }); break; } }