Skip to content

Commit

Permalink
Fix default button activation for download dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Apr 5, 2024
1 parent 4ac0489 commit 75f7504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions downloaddialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ DownloadDialog::DownloadDialog(
m_progressBar = new QProgressBar(this);
layout->addWidget(m_progressBar, 3, 0, 1, 5);

m_startButton->setDefault(true);
m_cancelButton->setEnabled(false);
m_filePathEdit->setText(m_settings.downloadFolder().absoluteFilePath(m_url.fileName()));

Expand Down

0 comments on commit 75f7504

Please sign in to comment.