projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa842b
)
SamplingBar: Add Space as a shortcut to Run/Stop.
author
Peter Zotov
<whitequark@whitequark.org>
Thu, 13 Nov 2014 14:16:54 +0000
(17:16 +0300)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 13 Nov 2014 19:12:33 +0000
(20:12 +0100)
pv/toolbars/samplingbar.cpp
patch
|
blob
|
history
diff --git
a/pv/toolbars/samplingbar.cpp
b/pv/toolbars/samplingbar.cpp
index 3d4e723f7e438510d065fc008486bcaf2b819609..21421bca34f16b235b644ca3096996f2aa9e0a2d 100644
(file)
--- a/
pv/toolbars/samplingbar.cpp
+++ b/
pv/toolbars/samplingbar.cpp
@@
-157,6
+157,7
@@
void SamplingBar::set_capture_state(pv::SigSession::capture_state state)
_run_stop_button.setIcon(*icons[state]);
_run_stop_button.setText((state == pv::SigSession::Stopped) ?
tr("Run") : tr("Stop"));
+ _run_stop_button.setShortcut(QKeySequence(Qt::Key_Space));
}
void SamplingBar::update_sample_rate_selector()