X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.cpp;h=5959ff7b3f94f1288e2c02187a47b802da091704;hb=78e14473a688eb74e47fa986df5ba9e146d7ce6a;hp=546176b44acccb187086654522ac1966db1ad234;hpb=66e4eae9ce743016c3f6d4974bceb9b7fc0ae7d7;p=pulseview.git diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 546176b4..5959ff7b 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -1192,11 +1192,11 @@ void View::signals_changed() } // Add and position the pending top levels items + int offset = v_extents().second; for (auto item : new_top_level_items) { add_child_item(item); // Position the item after the last item or at the top if there is none - int offset = v_extents().second; const pair extents = item->v_extents(); if (item->enabled())