projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df53968
)
Commit sample count after setting default.
author
Martin Ling
<martin-git@earth.li>
Tue, 14 Jan 2014 20:17:50 +0000
(20:17 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 18 Jan 2014 22:56:12 +0000
(22:56 +0000)
pv/toolbars/samplingbar.cpp
patch
|
blob
|
history
diff --git
a/pv/toolbars/samplingbar.cpp
b/pv/toolbars/samplingbar.cpp
index 9e16c5119384f208f12f7760cb2c06dcca373d04..6109c163ef4b11ecd6d8fdcc873618e44dc17a66 100644
(file)
--- a/
pv/toolbars/samplingbar.cpp
+++ b/
pv/toolbars/samplingbar.cpp
@@
-285,8
+285,10
@@
void SamplingBar::on_device_selected()
update_sample_count_selector();
update_sample_rate_selector();
- if (_sample_count.value() == 0)
+ if (_sample_count.value() == 0)
{
_sample_count.set_value(DefaultRecordLength);
+ commit_sample_count();
+ }
}
void SamplingBar::on_sample_count_changed()