projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #685 by adding a special T marker when SR_DT_TRIGGER arrives
[pulseview.git]
/
pv
/
view
/
flag.cpp
diff --git
a/pv/view/flag.cpp
b/pv/view/flag.cpp
index 779ea2eec24cd8d5088b2675f9ede6978c682ba1..380ef3273091b1f4d8d29f1bc68a5dd296e581da 100644
(file)
--- a/
pv/view/flag.cpp
+++ b/
pv/view/flag.cpp
@@
-108,5
+108,15
@@
void Flag::on_text_changed(const QString &text)
view_.time_item_appearance_changed(true, false);
}
+void Flag::drag_by(const QPoint &delta)
+{
+ // Treat trigger markers as immovable
+ if (text_ == "T")
+ return;
+
+ TimeMarker::drag_by(delta);
+}
+
+
} // namespace view
} // namespace pv