Skip to content
Snippets Groups Projects
Commit d6a4864b authored by Kien Le's avatar Kien Le
Browse files

Disable pick event on scroll

parent fd5ce74b
No related branches found
No related tags found
1 merge request!263Disable selecting point on scroll
Pipeline #3766 passed with stage
in 8 minutes and 46 seconds
......@@ -407,6 +407,10 @@ class PlottingWidget(QtWidgets.QScrollArea):
+ If the chan_data has key 'logIdx', raise the Search Messages dialog,
focus SOH tab, roll to the corresponding line.
"""
if event.mouseevent.name == 'scroll_event':
return
if event.mouseevent.button in ('up', 'down'):
return
self.is_button_press_event_triggered_pick_event = True
artist = event.artist
self.log_idxes = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment