X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fstandardbar.cpp;h=e2d6f3e2b540c7d201208329f6a3958b6ec7b29d;hp=fa04c8e2318bf40e63f896abc8b345509e7ecbc2;hb=526c8c00a61aa5f6ac7e3ee56991db957b45828d;hpb=7f9654641c096b303fc30b710335e235b9738ce9 diff --git a/pv/views/trace/standardbar.cpp b/pv/views/trace/standardbar.cpp index fa04c8e..e2d6f3e 100644 --- a/pv/views/trace/standardbar.cpp +++ b/pv/views/trace/standardbar.cpp @@ -86,8 +86,11 @@ StandardBar::StandardBar(Session &session, QWidget *parent, action_view_show_cursors_->setText(tr("Show &Cursors")); segment_selector_->setMinimum(1); + segment_selector_->hide(); connect(&session_, SIGNAL(frame_ended()), this, SLOT(on_segment_added())); + connect(segment_selector_, SIGNAL(valueChanged(int)), + view_, SLOT(on_segment_changed(int))); connect(view_, SIGNAL(always_zoom_to_fit_changed(bool)), this, SLOT(on_always_zoom_to_fit_changed(bool)));