]> sigrok.org Git - pulseview.git/commitdiff
TimeMarker: Fixed display of negative value in popup
authorJoel Holdsworth <redacted>
Sat, 22 Nov 2014 15:02:47 +0000 (15:02 +0000)
committerJoel Holdsworth <redacted>
Sat, 22 Nov 2014 15:15:55 +0000 (15:15 +0000)
This fixes bug #460

pv/view/timemarker.cpp

index 5196613bd443e375bcd8030b1116003ed4bd3fda..6571bea95c0eac9e6c98c3fca0f27bb9511a5c79 100644 (file)
@@ -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)),