projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c780810
)
MainBar: Disable custom samplerate by default
author
Soeren Apel
<soeren@apelpie.net>
Fri, 10 Aug 2018 21:31:49 +0000
(23:31 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 21 Aug 2018 10:02:38 +0000
(12:02 +0200)
Without this, the edit may be left in editable mode once the
external clock was enabled and disabled again.
pv/toolbars/mainbar.cpp
patch
|
blob
|
history
diff --git
a/pv/toolbars/mainbar.cpp
b/pv/toolbars/mainbar.cpp
index b9eda07787c912ccdef99e7fa55d38fc3aa1d0a2..d78a153f160d0f14e45969572cfe671269ba07f0 100644
(file)
--- a/
pv/toolbars/mainbar.cpp
+++ b/
pv/toolbars/mainbar.cpp
@@
-302,6
+302,7
@@
void MainBar::update_sample_rate_selector()
const shared_ptr<sigrok::Device> sr_dev = device->device();
+ sample_rate_.allow_user_entered_values(false);
if (sr_dev->config_check(ConfigKey::EXTERNAL_CLOCK, Capability::GET)) {
try {
auto gvar = sr_dev->config_get(ConfigKey::EXTERNAL_CLOCK);