Show capture file name.

This commit is contained in:
Jared Boone 2016-04-21 11:45:57 -07:00
parent ee51d7fa67
commit 09a39f780a
2 changed files with 7 additions and 0 deletions

View file

@ -38,6 +38,7 @@ CaptureAppView::CaptureAppView(NavigationView& nav) {
&field_frequency,
&field_lna,
&field_vga,
&text_record_filename,
&waterfall,
} });
@ -106,6 +107,7 @@ void CaptureAppView::on_start_stop() {
button_start_stop.set_bitmap(&bitmap_record);
} else {
const auto filename = next_filename_matching_pattern("BBD_????.C16");
text_record_filename.set(filename);
if( filename.empty() ) {
return;
}