Modify encoder handler to not call "on_encoder" functions if no change (#1749)

This commit is contained in:
Mark Thompson 2024-01-09 23:32:58 -06:00 committed by GitHub
parent 485f57d86b
commit c2d2409bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -275,7 +275,7 @@ ScannerView::~ScannerView() {
}
void ScannerView::show_max_index() { // show total number of freqs to scan
field_current_index.set_text("---");
field_current_index.set_text("<->");
if (entries.size() == FREQMAN_MAX_PER_FILE) {
text_max_index.set_style(&Styles::red);