]> sigrok.org Git - pulseview.git/blobdiff - pv/view/rowitem.cpp
RowItemOwner: Replaced parent notification scheme
[pulseview.git] / pv / view / rowitem.cpp
index 120a00a39d1cd0a1fb478c5facf446d86e8722ad..b64294c48907f564540c8edb91b33be01affdc95 100644 (file)
@@ -45,6 +45,9 @@ void RowItem::set_layout_v_offset(int v_offset)
                return;
 
        _layout_v_offset = v_offset;
+
+       if (_owner)
+               _owner->extents_changed(false, true);
 }
 
 int RowItem::visual_v_offset() const
@@ -55,6 +58,9 @@ int RowItem::visual_v_offset() const
 void RowItem::set_visual_v_offset(int v_offset)
 {
        _visual_v_offset = v_offset;
+
+       if (_owner)
+               _owner->appearance_changed(true, true);
 }
 
 void RowItem::force_to_v_offset(int v_offset)