projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82596f4
)
Display cursor popup time value correctly.
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 29 Dec 2013 10:49:30 +0000
(11:49 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 29 Dec 2013 10:49:30 +0000
(11:49 +0100)
This fixes Bug #229
pv/view/timemarker.cpp
patch
|
blob
|
history
diff --git
a/pv/view/timemarker.cpp
b/pv/view/timemarker.cpp
index 5935fb3b9fd2535b6e1d15dbabe0f0ca85086b92..2dabaa0eb24346add1889975a687e639350b649a 100644
(file)
--- a/
pv/view/timemarker.cpp
+++ b/
pv/view/timemarker.cpp
@@
-81,10
+81,10
@@
pv::widgets::Popup* TimeMarker::create_popup(QWidget *parent)
popup->setLayout(form);
_value_widget = new QDoubleSpinBox(parent);
- _value_widget->setValue(_time);
- _value_widget->setDecimals(6);
+ _value_widget->setDecimals(9);
_value_widget->setSuffix("s");
_value_widget->setSingleStep(1e-6);
+ _value_widget->setValue(_time);
connect(_value_widget, SIGNAL(valueChanged(double)),
this, SLOT(on_value_changed(double)));