projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a0cad
)
AnalogSignal: Make sure the trace is redrawn when changing vdiv count
author
Soeren Apel
<soeren@apelpie.net>
Wed, 13 Apr 2016 18:17:53 +0000
(20:17 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Wed, 13 Apr 2016 18:17:53 +0000
(20:17 +0200)
pv/view/analogsignal.cpp
patch
|
blob
|
history
diff --git
a/pv/view/analogsignal.cpp
b/pv/view/analogsignal.cpp
index e0add7aaedc64e7a116ea2bc4229dd4e25ab6583..9001924a687f4f301e63c4fcc1bec24aae4d7b69 100644
(file)
--- a/
pv/view/analogsignal.cpp
+++ b/
pv/view/analogsignal.cpp
@@
-360,8
+360,11
@@
void AnalogSignal::on_vdivs_changed(int vdivs)
{
vdivs_ = vdivs;
- if (owner_)
+ if (owner_) {
+ // Call order is important, otherwise the lazy event handler won't work
owner_->extents_changed(false, true);
+ owner_->row_item_appearance_changed(false, true);
+ }
}
void AnalogSignal::on_resolution_changed(int index)