mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 15:29:37 -05:00
Frequency manager menu refresh not working, disabled for now...
This commit is contained in:
parent
3fca8be317
commit
46482a110c
@ -203,7 +203,7 @@ void FreqManView::on_frequency_select() {
|
|||||||
|
|
||||||
void FreqManView::on_edit_freq(rf::Frequency f) {
|
void FreqManView::on_edit_freq(rf::Frequency f) {
|
||||||
database.entries[menu_view.highlighted()].value = f;
|
database.entries[menu_view.highlighted()].value = f;
|
||||||
setup_list();
|
//setup_list();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreqManView::on_edit_desc(NavigationView& nav) {
|
void FreqManView::on_edit_desc(NavigationView& nav) {
|
||||||
@ -212,14 +212,13 @@ void FreqManView::on_edit_desc(NavigationView& nav) {
|
|||||||
strcpy(desc_buffer, database.entries[menu_view.highlighted()].description.c_str());
|
strcpy(desc_buffer, database.entries[menu_view.highlighted()].description.c_str());
|
||||||
textentry(nav, desc_buffer, 28, [this, &desc_buffer](char * buffer) {
|
textentry(nav, desc_buffer, 28, [this, &desc_buffer](char * buffer) {
|
||||||
database.entries[menu_view.highlighted()].description = buffer;
|
database.entries[menu_view.highlighted()].description = buffer;
|
||||||
setup_list();
|
//setup_list();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreqManView::on_delete() {
|
void FreqManView::on_delete() {
|
||||||
size_t n;
|
|
||||||
database.entries.erase(database.entries.begin() + menu_view.highlighted());
|
database.entries.erase(database.entries.begin() + menu_view.highlighted());
|
||||||
setup_list();
|
//setup_list();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreqManView::on_edit_category(int32_t category_id) {
|
void FreqManView::on_edit_category(int32_t category_id) {
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user