Text entry should be more stable

Text entry now allows for strings greater than 28 chars
Frequency manager save with name bugfix
This commit is contained in:
furrtek 2017-06-11 02:53:06 +01:00
parent b3aa4bf0b9
commit 042d271a9f
15 changed files with 116 additions and 125 deletions

View file

@ -186,7 +186,7 @@ void LCRView::start_tx(const bool scan) {
}
void LCRView::on_button_setam(NavigationView& nav, Button& button) {
text_entry(nav, litteral[button.id], 7);
text_entry(nav, &litteral[button.id], 7);
}
LCRView::LCRView(NavigationView& nav) {
@ -247,7 +247,7 @@ LCRView::LCRView(NavigationView& nav) {
rectangle.set_parent_rect({
static_cast<Coord>(98),
static_cast<Coord>(n * 32 + 68 - 2),
64, 20
68, 20
});
rectangle.set_color(ui::Color::grey());
rectangle.set_outline(true);
@ -263,7 +263,7 @@ LCRView::LCRView(NavigationView& nav) {
button_scan.set_style(&style_val);
button_setrgsb.on_select = [this,&nav](Button&) {
text_entry(nav, rgsb, 4);
text_entry(nav, &rgsb, 4);
};
button_txsetup.on_select = [&nav](Button&) {