diff --git a/settings/GeneralSettings.cpp b/settings/GeneralSettings.cpp index bd03a71..1c26021 100644 --- a/settings/GeneralSettings.cpp +++ b/settings/GeneralSettings.cpp @@ -290,8 +290,8 @@ void GeneralSettings::showUrlSelectionDialog( auto cancelButton = new QPushButton(TrConstants::CANCEL); connect(cancelButton, &QPushButton::clicked, &dialog, &QDialog::reject); - dialog.buttonLayout()->addWidget(cancelButton); dialog.buttonLayout()->addWidget(okButton); + dialog.buttonLayout()->addWidget(cancelButton); urlList->setFocus(); dialog.exec();