Skip to content

Commit

Permalink
Fix changing the TTD trace output directory changes the working direc…
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Jun 27, 2024
1 parent 97f8068 commit c7737d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/ttdrecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ TTDRecordDialog::TTDRecordDialog(QWidget* parent, BinaryView* data) :
outputDirSelector->setMaximumWidth(30);
connect(outputDirSelector, &QPushButton::clicked, [&]() {
auto pathName = QFileDialog::getExistingDirectory(this, "Specify Trace Output Directory",
m_workingDirectoryEntry->text(), QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
m_outputDirectory->text(), QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
if (!pathName.isEmpty())
m_workingDirectoryEntry->setText(pathName);
m_outputDirectory->setText(pathName);
});

auto pathEntryLayout = new QHBoxLayout;
Expand Down

0 comments on commit c7737d3

Please sign in to comment.