From: Joel Holdsworth Date: Sat, 22 Nov 2014 15:02:47 +0000 (+0000) Subject: TimeMarker: Fixed display of negative value in popup X-Git-Tag: pulseview-0.3.0~434 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bccef54223c86f65fb0b7ead3124d945f1548beb;p=pulseview.git TimeMarker: Fixed display of negative value in popup This fixes bug #460 --- diff --git a/pv/view/timemarker.cpp b/pv/view/timemarker.cpp index 5196613b..6571bea9 100644 --- a/pv/view/timemarker.cpp +++ b/pv/view/timemarker.cpp @@ -87,6 +87,7 @@ pv::widgets::Popup* TimeMarker::create_popup(QWidget *parent) value_widget_->setDecimals(9); value_widget_->setSuffix("s"); value_widget_->setSingleStep(1e-6); + value_widget_->setRange(-1.0e9, 1.0e9); value_widget_->setValue(time_); connect(value_widget_, SIGNAL(valueChanged(double)),