projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix regression introduced by 2980ff2da269c9ed
[pulseview.git]
/
pv
/
views
/
trace
/
viewwidget.cpp
diff --git
a/pv/views/trace/viewwidget.cpp
b/pv/views/trace/viewwidget.cpp
index 5a1aa3c3ea447e27356c8ace74273b2f1da63333..a14c4fd224395eb95bc8c46d97766051a7ec0e51 100644
(file)
--- a/
pv/views/trace/viewwidget.cpp
+++ b/
pv/views/trace/viewwidget.cpp
@@
-169,7
+169,7
@@
void ViewWidget::mouse_left_press_event(QMouseEvent *event)
clear_selection();
// Set the signal selection state if the item has been clicked
clear_selection();
// Set the signal selection state if the item has been clicked
- if (mouse_down_item_) {
+ if (mouse_down_item_
&& mouse_down_item_->is_selectable(event->pos())
) {
if (ctrl_pressed)
mouse_down_item_->select(!mouse_down_item_->selected());
else
if (ctrl_pressed)
mouse_down_item_->select(!mouse_down_item_->selected());
else