From: Joel Holdsworth Date: Sun, 4 Oct 2015 21:56:30 +0000 (-0600) Subject: ViewItem: Make drag_release virtual X-Git-Tag: pulseview-0.3.0~80 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bf80cfa4d8acb9321a2b13a1b7654d5a03aad277;p=pulseview.git ViewItem: Make drag_release virtual --- diff --git a/pv/view/viewitem.hpp b/pv/view/viewitem.hpp index 82851e5c..b408ec2f 100644 --- a/pv/view/viewitem.hpp +++ b/pv/view/viewitem.hpp @@ -81,7 +81,7 @@ public: /** * Sets this item into the un-dragged state. */ - void drag_release(); + virtual void drag_release(); /** * Drags the item to a delta relative to the drag point.