]> sigrok.org Git - pulseview.git/commitdiff
ViewWidget: Moved update() call into ViewItem
authorJoel Holdsworth <redacted>
Mon, 7 Sep 2015 00:35:34 +0000 (18:35 -0600)
committerJoel Holdsworth <redacted>
Sun, 18 Oct 2015 21:32:30 +0000 (15:32 -0600)
pv/view/signalscalehandle.cpp
pv/view/viewwidget.cpp

index 59e618ca95b9dc7914e5b5a73a74a2d4e3cd8af3..a4c2b4199c3d3e109a6f949750b69443c574e074 100644 (file)
@@ -59,6 +59,7 @@ void SignalScaleHandle::drag_by(const QPoint &delta)
 {
        owner_.scale_handle_dragged(
                drag_point_.y() + delta.y() - owner_.get_visual_y());
+       owner_.owner()->row_item_appearance_changed(true, true);
 }
 
 QPoint SignalScaleHandle::point(const QRect &rect) const
index 2a97eefc2dc1577b4afa7596fedf12a32114914c..a834f9c0d54eba1c236f18558cfe471bbb3f700a 100644 (file)
@@ -294,8 +294,6 @@ void ViewWidget::mouseMoveEvent(QMouseEvent *e)
 
                // Do the drag
                drag_items(e->pos() - mouse_down_point_);
-
-               update();
        }
 }