X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fview.cpp;h=cce5e11b6f99ddb2cc4ecb4bac47707beaa6f959;hb=f15bb3bc4f964eaafdd4c46f29f69ef74572baee;hp=e4b22c2fef63806094b516ba7e1e97fc9161ee69;hpb=b434cbaf3208c2037fd5f86001b367b46ba926ba;p=pulseview.git diff --git a/pv/view/view.cpp b/pv/view/view.cpp index e4b22c2..cce5e11 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -115,9 +115,6 @@ View::View(Session &session, QWidget *parent) : connect(&session_, SIGNAL(frame_ended()), this, SLOT(data_updated())); - connect(header_, SIGNAL(signals_moved()), - this, SLOT(on_signals_moved())); - connect(header_, SIGNAL(selection_changed()), ruler_, SLOT(clear_selection())); connect(ruler_, SIGNAL(selection_changed()), @@ -745,18 +742,14 @@ void View::data_updated() viewport_->update(); } -void View::on_signals_moved() -{ - update_scroll(); - signals_moved(); -} - void View::process_sticky_events() { if (sticky_events_ & RowItemHExtentsChanged) update_layout(); - if (sticky_events_ & RowItemVExtentsChanged) + if (sticky_events_ & RowItemVExtentsChanged) { restack_all_row_items(); + update_scroll(); + } // Clear the sticky events sticky_events_ = 0;