X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fsession.cpp;h=fc4a748c09980c60b10a937b836a6632324c74bd;hp=410a0b3d8be9b4235babbd0d4f0919154466ae9b;hb=53e8927dc930f88950027b159878f8d4ada7251e;hpb=36a8185e7e594990d475e6a043d5924605ca0f58 diff --git a/pv/session.cpp b/pv/session.cpp index 410a0b3..fc4a748 100644 --- a/pv/session.cpp +++ b/pv/session.cpp @@ -477,6 +477,8 @@ void Session::register_view(std::shared_ptr view) } views_.push_back(view); + + update_signals(); } void Session::deregister_view(std::shared_ptr view) @@ -668,6 +670,7 @@ void Session::update_signals() if (iter != prev_sigs.end()) { // Copy the signal from the old set to the new signal = *iter; + view->add_signal(signal); } else { // Find the signalbase for this channel if possible signalbase.reset();