Changed popup buttons from "Ok/Cancel" to "Yes/No"
This commit is contained in:
parent
917a29fac0
commit
06290d2326
1 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ void LoadSetsPage::zipDownloadFailed(const QString &message)
|
||||||
progressBar->hide();
|
progressBar->hide();
|
||||||
|
|
||||||
QMessageBox::StandardButton reply;
|
QMessageBox::StandardButton reply;
|
||||||
reply = QMessageBox::question(this, tr("Error"), message + "<br/>" + tr("Do you want to try to download a fresh copy of the uncompressed file instead?"), QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Ok);
|
reply = QMessageBox::question(this, tr("Error"), message + "<br/>" + tr("Do you want to try to download a fresh copy of the uncompressed file instead?"), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes);
|
||||||
if (reply == QMessageBox::Ok)
|
if (reply == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
urlRadioButton->setChecked(true);
|
urlRadioButton->setChecked(true);
|
||||||
urlLineEdit->setText(ALLSETS_URL_FALLBACK);
|
urlLineEdit->setText(ALLSETS_URL_FALLBACK);
|
||||||
|
|
Loading…
Reference in a new issue