mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 03:34:35 +00:00
Recon: Only update manual field if current entry is a range (#1387)
This commit is contained in:
parent
63f99742fc
commit
cc963c3562
@ -38,7 +38,7 @@ namespace fs = std::filesystem;
|
|||||||
namespace ui {
|
namespace ui {
|
||||||
|
|
||||||
void ReconView::check_update_ranges_from_current() {
|
void ReconView::check_update_ranges_from_current() {
|
||||||
if (frequency_list.size() && current_is_valid()) {
|
if (frequency_list.size() && current_is_valid() && current_entry().type == freqman_type::Range) {
|
||||||
if (update_ranges && !manual_mode) {
|
if (update_ranges && !manual_mode) {
|
||||||
button_manual_start.set_text(to_string_short_freq(current_entry().frequency_a));
|
button_manual_start.set_text(to_string_short_freq(current_entry().frequency_a));
|
||||||
frequency_range.min = current_entry().frequency_a;
|
frequency_range.min = current_entry().frequency_a;
|
||||||
|
Loading…
Reference in New Issue
Block a user