]> sigrok.org Git - pulseview.git/blobdiff - pv/views/tabular_decoder/view.cpp
Fix MetadataObjMainViewRange handling when main view is resized
[pulseview.git] / pv / views / tabular_decoder / view.cpp
index 3c916f4d340689ef2230978387c6dae0ca8ddb29..14ae50a2941e8d56d8a532bd1505b566f67921b4 100644 (file)
@@ -529,7 +529,8 @@ void View::on_new_annotations()
 {
        if (view_mode_selector_->currentIndex() == ViewModeLatest) {
                update_data();
-               table_view_->scrollTo(model_->index(model_->rowCount() - 1, 0),
+               table_view_->scrollTo(
+                       filter_proxy_model_->index(filter_proxy_model_->rowCount() - 1, 0),
                        QAbstractItemView::PositionAtBottom);
        } else {
                if (!delayed_view_updater_.isActive())