Skip to content

Commit

Permalink
fix repository selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinerum committed Mar 5, 2024
1 parent a3ea757 commit 7fcc47b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/fm-editor/FeatureModelEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ void FeatureModelEditor::inspectFeatureSources(
vara::feature::Feature *Feature) {
CurrentFeature = Feature;
if (Repository.isEmpty()) {
Repository = QFileDialog::getExistingDirectory();
Repository = QFileDialog::getExistingDirectory(
this, tr("Select Repository"),
QString::fromStdString(std::filesystem::current_path().string()));
}
Ui->sources->clear();
QSet<QString> Locations = {};
Expand Down

0 comments on commit 7fcc47b

Please sign in to comment.