projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36a8185
)
Session: Fix signal mappings for the views
author
Soeren Apel
<soeren@apelpie.net>
Fri, 2 Sep 2016 17:59:33 +0000
(19:59 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Fri, 2 Sep 2016 17:59:33 +0000
(19:59 +0200)
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index 410a0b3d8be9b4235babbd0d4f0919154466ae9b..fc4a748c09980c60b10a937b836a6632324c74bd 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-477,6
+477,8
@@
void Session::register_view(std::shared_ptr<pv::view::View> view)
}
views_.push_back(view);
+
+ update_signals();
}
void Session::deregister_view(std::shared_ptr<pv::view::View> 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();