feat: the session file remembers which sidebar tab was showing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino FerrariandClaude Sonnet 4.6 committed 2026-10-14 12:09:21 +02:00
1 parent d2ec89d866
commit 132041f79e
3 files changed
+9

No files matched your search

+4
View File
@@ -66,6 +66,10 @@ struct LayoutState {
/// stream and mean nothing restored against another one.
bool measure_stats = false;
/// Which sidebar tab was showing: "measure" or "signals". The one thing the panel persists --
/// no revealer states remain, and the 320 px width is the `.ui`'s.
std::string side_tab = "signals";
/// The measurements pane, by signal *name* and with the type and options a row was built with.
std::vector<Measure> measures;