mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 00:59:28 +00:00
High frequency load/save bugfix
Editing widgets hidden if freqman category is empty Textentry now trims strings up to cursor
This commit is contained in:
@@ -52,6 +52,7 @@ protected:
|
||||
options_t categories { };
|
||||
std::function<void(int32_t category_id)> on_change_category { nullptr };
|
||||
std::function<void(void)> on_select_frequency { nullptr };
|
||||
std::function<void(bool)> on_refresh_widgets { nullptr };
|
||||
std::vector<std::string> file_list { };
|
||||
int32_t current_category_id { 0 };
|
||||
|
||||
@@ -133,6 +134,7 @@ public:
|
||||
FrequencyLoadView(NavigationView& nav);
|
||||
|
||||
private:
|
||||
void refresh_widgets(const bool v);
|
||||
};
|
||||
|
||||
class FrequencyManagerView : public FreqManBaseView {
|
||||
@@ -143,6 +145,7 @@ public:
|
||||
private:
|
||||
std::string desc_buffer { };
|
||||
|
||||
void refresh_widgets(const bool v);
|
||||
void on_edit_freq(rf::Frequency f);
|
||||
void on_edit_desc(NavigationView& nav);
|
||||
void on_new_category(NavigationView& nav);
|
||||
|
||||
Reference in New Issue
Block a user