Skip to content

Commit

Permalink
pass filename to save consol
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bonani committed Dec 6, 2021
1 parent 5f3764f commit 87afae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aseba/launcher/src/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ QString Launcher::getDownloadPath(const QUrl& url) {
const auto name = url.fileName();
const auto extension = QFileInfo(name).suffix();
d.setWindowTitle(tr("Save %1").arg(name));
d.selectFile(name);
d.setNameFilter(QString("%1 (*.%1)").arg(extension));
d.setAcceptMode(QFileDialog::AcceptSave);
d.setFileMode(QFileDialog::AnyFile);
Expand Down

0 comments on commit 87afae2

Please sign in to comment.