fix incorrect state in decode raw exit

causing keys to be not removed from history and showing up in Read menu after exit from decode raw
This commit is contained in:
MX 2024-06-17 02:16:20 +03:00
parent 0bb2738d36
commit 0770578d49
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -207,6 +207,8 @@ bool subghz_scene_decode_raw_on_event(void* context, SceneManagerEvent event) {
subghz_txrx_set_rx_callback(subghz->txrx, NULL, subghz);
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateIDLE);
if(subghz_file_encoder_worker_is_running(subghz->decode_raw_file_worker_encoder)) {
subghz_file_encoder_worker_stop(subghz->decode_raw_file_worker_encoder);
}