summaryrefslogtreecommitdiffstats
path: root/app/api
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2018-02-15 18:35:50 -0500
committerScott Murray <scott.murray@konsulko.com>2018-02-15 18:35:50 -0500
commit3ebb0c952333caf715a9e2a6c23360db93e54f75 (patch)
treec44a88e0f6dbdbb98b1d4a00d320f8c4429fbe47 /app/api
parent4eb2ac75588b2ce1f47c2b52ec3ed9ce1b674d22 (diff)
Rework to only enable the scan buttons when the radio is playing, and a tweak to make sure the scan label reverts to the original non-scanning color when a scan is interrupted by the user selecting a frequency with the slider or tune buttons. Change-Id: I5c44234891aa82e13c28c75b703039575fa2428e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'app/api')
-rw-r--r--app/api/Binding.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/api/Binding.qml b/app/api/Binding.qml
index 7750452..ee83bb5 100644
--- a/app/api/Binding.qml
+++ b/app/api/Binding.qml
@@ -64,6 +64,7 @@ WebSocket {
sendSocketMessage("scan_stop", 'None')
scanningState = stoppedState
sendSocketMessage("frequency", { value: frequency })
+ root.stationFound()
} else {
// This update was from scanning, clear state
scanningFreqUpdate = false