Skip to content

Commit

Permalink
Start file browser in directory of last file selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
srcejon committed Dec 13, 2023
1 parent c2a2977 commit 46c7206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/samplesource/fileinput/fileinputgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void FileInputGUI::on_showFileDialog_clicked(bool checked)
{
(void) checked;
QString fileName = QFileDialog::getOpenFileName(this,
tr("Open I/Q record file"), ".", tr("SDR I/Q Files (*.sdriq *.wav)"), 0);
tr("Open I/Q record file"), QFileInfo(m_settings.m_fileName).dir().path(), tr("SDR I/Q Files (*.sdriq *.wav)"), 0);


if (fileName != "")
Expand Down

0 comments on commit 46c7206

Please sign in to comment.