projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MarginWidget: Moved in clear_selection
[pulseview.git]
/
pv
/
view
/
marginwidget.cpp
diff --git
a/pv/view/marginwidget.cpp
b/pv/view/marginwidget.cpp
index 8716439e6f74e294505489f148e8d3e31c7af7f1..2ef262762cc0c13a7683b0aa7379099e3fca2502 100644
(file)
--- a/
pv/view/marginwidget.cpp
+++ b/
pv/view/marginwidget.cpp
@@
-68,6
+68,10
@@
void MarginWidget::contextMenuEvent(QContextMenuEvent *event)
void MarginWidget::clear_selection()
{
+ const auto items = this->items();
+ for (auto &i : items)
+ i->select(false);
+ update();
}
} // namespace view