Merge pull request #729 from drowe67/ms-save-file-paths

Fix bug preventing saving of the previously used path when playing back files.
pull/731/head
Mooneer Salem 2024-06-30 09:27:21 -07:00 committed by GitHub
commit 743f7ee2fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -891,9 +891,11 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes
## V1.9.9.3 TBD 2024
1. Enhancements:
1. Bugfixes:
* Fix bug preventing saving of the previously used path when playing back files. (PR #729)
2. Enhancements:
* Show green line indicating RX frequency. (PR #725)
2. Build system:
3. Build system:
* Allow overrriding the version tag when building. (PR #727)
## V1.9.9.2 June 2024

View File

@ -141,6 +141,9 @@ void MainFrame::OnPlayFileFromRadio(wxCommandEvent& event)
wxMessageBox(strErr, wxT("Couldn't open sound file"), wxOK);
return;
}
// Save path for future use
wxGetApp().appConfiguration.playFileFromRadioPath = tmpString;
wxWindow * const ctrl = openFileDialog.GetExtraControl();
@ -305,6 +308,9 @@ void MainFrame::OnRecFileFromRadio(wxCommandEvent& event)
wxMessageBox(strErr, wxT("Couldn't open sound file"), wxOK);
return;
}
// Save path for future use
wxGetApp().appConfiguration.recFileFromRadioPath = tmpString;
SetStatusText(wxT("Recording file ") + fileName + wxT(" from radio") , 0);
m_menuItemRecFileFromRadio->SetItemLabel(wxString(_("Stop Record File - From Radio...")));