From 7b669d7001306186df84904d12f075a29c7305fc Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Sun, 18 Jun 2023 01:14:29 -0500 Subject: [PATCH] Proposed default focus changes (#1165) * Changed default focus of pocsag, glass, scanner, sonde --- firmware/application/apps/pocsag_app.cpp | 2 +- firmware/application/apps/ui_looking_glass_app.cpp | 2 +- firmware/application/apps/ui_scanner.cpp | 2 +- firmware/application/apps/ui_sonde.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/application/apps/pocsag_app.cpp b/firmware/application/apps/pocsag_app.cpp index 671ed102..373b0b0e 100644 --- a/firmware/application/apps/pocsag_app.cpp +++ b/firmware/application/apps/pocsag_app.cpp @@ -107,7 +107,7 @@ POCSAGAppView::POCSAGAppView(NavigationView& nav) { } void POCSAGAppView::focus() { - check_log.focus(); + field_frequency.focus(); } POCSAGAppView::~POCSAGAppView() { diff --git a/firmware/application/apps/ui_looking_glass_app.cpp b/firmware/application/apps/ui_looking_glass_app.cpp index 2dc9ca2c..7cd36f7e 100644 --- a/firmware/application/apps/ui_looking_glass_app.cpp +++ b/firmware/application/apps/ui_looking_glass_app.cpp @@ -30,7 +30,7 @@ using namespace portapack; namespace ui { void GlassView::focus() { - button_marker.focus(); + range_presets.focus(); } GlassView::~GlassView() { diff --git a/firmware/application/apps/ui_scanner.cpp b/firmware/application/apps/ui_scanner.cpp index 32ca75e0..e5f52954 100644 --- a/firmware/application/apps/ui_scanner.cpp +++ b/firmware/application/apps/ui_scanner.cpp @@ -239,7 +239,7 @@ void ScannerView::handle_retune(int64_t freq, uint32_t freq_idx) { } void ScannerView::focus() { - field_mode.focus(); + button_load.focus(); } ScannerView::~ScannerView() { diff --git a/firmware/application/apps/ui_sonde.cpp b/firmware/application/apps/ui_sonde.cpp index 6a61e2e7..04d9d488 100644 --- a/firmware/application/apps/ui_sonde.cpp +++ b/firmware/application/apps/ui_sonde.cpp @@ -137,7 +137,7 @@ SondeView::~SondeView() { } void SondeView::focus() { - field_vga.focus(); + field_frequency.focus(); } // used to convert float to character pointer, since unfortunately function like