diff --git a/USER_MANUAL.md b/USER_MANUAL.md index 71ac9314..037e17b5 100644 --- a/USER_MANUAL.md +++ b/USER_MANUAL.md @@ -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 diff --git a/src/playrec.cpp b/src/playrec.cpp index c364c2b3..3b81add6 100644 --- a/src/playrec.cpp +++ b/src/playrec.cpp @@ -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...")));