fixed event/live transition
This commit is contained in:
1 parent
bb99be5889
commit
881b52748e
9 files changed
+314
-2
No files matched your search
@@ -232,6 +232,14 @@ void save_layout_now(App& app) {
|
||||
// run would silently vanish from the only place it can be picked. Keeping the old file loses
|
||||
// nothing: this run configured nothing.
|
||||
if (app.model->signals().empty()) return;
|
||||
// A file view is not the source's session, and the same argument applies: this view configured
|
||||
// nothing about the stream. A replay leaves the rows where the user put them, so its save would
|
||||
// merely be pointless -- but a *group* rebinds every slot to its own renamed channels, and a save
|
||||
// taken while one was up wrote `signals = ["square (A)", ...]` into the file. The next load then
|
||||
// matched no live signal, enabled nothing, and the live view came back with no channels at all,
|
||||
// on the window the poisoned file carried. Skipping costs nothing: the live session's own file is
|
||||
// already on disk, and `go_live_again()` puts the rest back.
|
||||
if (app.replaying) return;
|
||||
if (app.config_name.empty()) app.config_name = active_configuration(app.source_host,
|
||||
app.source_port);
|
||||
const std::string path =
|
||||
|
||||
Reference in new issue
Block a user