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
commit
743f7ee2fb
|
@ -891,9 +891,11 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes
|
||||||
|
|
||||||
## V1.9.9.3 TBD 2024
|
## 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)
|
* Show green line indicating RX frequency. (PR #725)
|
||||||
2. Build system:
|
3. Build system:
|
||||||
* Allow overrriding the version tag when building. (PR #727)
|
* Allow overrriding the version tag when building. (PR #727)
|
||||||
|
|
||||||
## V1.9.9.2 June 2024
|
## V1.9.9.2 June 2024
|
||||||
|
|
|
@ -141,6 +141,9 @@ void MainFrame::OnPlayFileFromRadio(wxCommandEvent& event)
|
||||||
wxMessageBox(strErr, wxT("Couldn't open sound file"), wxOK);
|
wxMessageBox(strErr, wxT("Couldn't open sound file"), wxOK);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save path for future use
|
||||||
|
wxGetApp().appConfiguration.playFileFromRadioPath = tmpString;
|
||||||
|
|
||||||
wxWindow * const ctrl = openFileDialog.GetExtraControl();
|
wxWindow * const ctrl = openFileDialog.GetExtraControl();
|
||||||
|
|
||||||
|
@ -305,6 +308,9 @@ void MainFrame::OnRecFileFromRadio(wxCommandEvent& event)
|
||||||
wxMessageBox(strErr, wxT("Couldn't open sound file"), wxOK);
|
wxMessageBox(strErr, wxT("Couldn't open sound file"), wxOK);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save path for future use
|
||||||
|
wxGetApp().appConfiguration.recFileFromRadioPath = tmpString;
|
||||||
|
|
||||||
SetStatusText(wxT("Recording file ") + fileName + wxT(" from radio") , 0);
|
SetStatusText(wxT("Recording file ") + fileName + wxT(" from radio") , 0);
|
||||||
m_menuItemRecFileFromRadio->SetItemLabel(wxString(_("Stop Record File - From Radio...")));
|
m_menuItemRecFileFromRadio->SetItemLabel(wxString(_("Stop Record File - From Radio...")));
|
||||||
|
|
Loading…
Reference in New Issue