mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-24 14:50:43 -04:00
freqman: limiting description size to 30, and minor fix (#1977)
* Limiting description size to 30 as it was documented before * cosmetic adjustement --------- Co-authored-by: GullCode <gullradriel@hotmail.com>
This commit is contained in:
parent
866e12fbc5
commit
910fd82051
4 changed files with 9 additions and 8 deletions
|
@ -228,7 +228,7 @@ void FrequencyManagerView::on_edit_freq() {
|
|||
|
||||
void FrequencyManagerView::on_edit_desc() {
|
||||
temp_buffer_ = current_entry().description;
|
||||
text_prompt(nav_, temp_buffer_, desc_edit_max, [this](std::string& new_desc) {
|
||||
text_prompt(nav_, temp_buffer_, freqman_max_desc_size, [this](std::string& new_desc) {
|
||||
auto entry = current_entry();
|
||||
entry.description = std::move(new_desc);
|
||||
db_.replace_entry(current_index(), entry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue