forked from 1b-agent/fieldcraft-upstream
Session::opened identifies the open document
It changes when file.open, file.recover or file.sample replaces the session and when geometry.open opens another design file or starts a new model; an edit, a solve or reopening the same design keep it. The desktop app frames the view on that change (#233). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
a0f48c7207
commit
696b64c30f
3 files changed
+48
No files matched your search
@@ -232,6 +232,7 @@ impl Session {
|
||||
opened.limits = self.limits;
|
||||
opened.file_access = std::mem::take(&mut self.file_access);
|
||||
opened.clear_history();
|
||||
opened.mark_opened();
|
||||
*self = opened;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user