X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=26aae49fada6f9a5a7d2d533ad77b2c8e017baaa;hb=208c6fc371951fe74ba5a08a0950f2837eef8b7b;hp=e3ad9d3815d9aa7de5f83b62d5ac4a18d3431949;hpb=1dffa582704bb6acb144a3e89bd6eb0e2ccf4f25;p=pulseview.git diff --git a/pv/view/header.cpp b/pv/view/header.cpp index e3ad9d38..26aae49f 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -113,7 +113,7 @@ void Header::paintEvent(QPaintEvent*) { assert(r); - const bool highlight = !dragging_ && + const bool highlight = !item_dragging_ && r->label_rect(rect).contains(mouse_point_); r->paint_label(painter, rect, highlight); }