projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a20644
)
Fix #1212 by not resetting the cursors pointer
author
Brian Starkey
<stark3y@gmail.com>
Fri, 1 Jun 2018 17:33:08 +0000
(18:33 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sun, 3 Jun 2018 17:02:28 +0000
(19:02 +0200)
Calling cursors_.reset() effectively drops the CursorPair, meaning they
can never be used. Remove that.
pv/views/trace/view.cpp
patch
|
blob
|
history
diff --git
a/pv/views/trace/view.cpp
b/pv/views/trace/view.cpp
index d559b0af5f6bcde346d3cef0b84f31fd80278505..2837e57fae3332e84ade1bfe8a50dd28c4acab12 100644
(file)
--- a/
pv/views/trace/view.cpp
+++ b/
pv/views/trace/view.cpp
@@
-246,7
+246,6
@@
void View::reset_view_state()
suppress_zoom_to_fit_after_acq_ = false;
show_cursors_ = false;
- cursors_.reset();
flags_.clear();
// Update the zoom state