projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8835b5e
)
Trace: Force trace replaint when a setting changes
author
Soeren Apel
<soeren@apelpie.net>
Sat, 13 Oct 2018 19:42:48 +0000
(21:42 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Sat, 13 Oct 2018 19:49:17 +0000
(21:49 +0200)
pv/views/trace/trace.cpp
patch
|
blob
|
history
diff --git
a/pv/views/trace/trace.cpp
b/pv/views/trace/trace.cpp
index 8511f7507cdec68e759b9c32d5af33e8c958cccc..bbd0115fb65af00512508c7129d3e6399b12a3a2 100644
(file)
--- a/
pv/views/trace/trace.cpp
+++ b/
pv/views/trace/trace.cpp
@@
-110,6
+110,10
@@
void Trace::on_setting_changed(const QString &key, const QVariant &value)
{
if (key == GlobalSettings::Key_View_ShowHoverMarker)
show_hover_marker_ = value.toBool();
+
+ // Force a repaint since many options alter the way traces look
+ if (owner_)
+ owner_->row_item_appearance_changed(false, true);
}
void Trace::paint_label(QPainter &p, const QRect &rect, bool hover)