Skip to content

Commit

Permalink
When refreshing charity information, reset charity combo box before d…
Browse files Browse the repository at this point in the history
…isplaying 'data refreshed...' message so reseting does not replace 'data refreshed...' message.
  • Loading branch information
EverGreenCoinDev committed Nov 29, 2019
1 parent 9a60f4f commit 4e9ac20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/charitydialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,9 @@ void StakeForCharityDialog::on_btnRefreshCharities_clicked()
ui->charityMaxEdit->clear();
ui->charityMinEdit->clear();
ui->charityPercentEdit->clear();
ui->comboBox->setCurrentIndex(0); // reset charity select combo
ui->message->setStyleSheet("QLabel { color: #1ab06c; font-weight: 900;}");
ui->message->setText(tr("Data refreshed from <a href='https://EverGreenCoin.org' style='color: #1ab06c;'>EverGreenCoin.org</a><br />Select a cause you find charitable<br />and click the 'Enable' button to apply changes."));
ui->comboBox->setCurrentIndex(0); // reset charity select combo
ui->btnRefreshCharities->setDisabled(false);
ui->btnRefreshCharities->setText("Refresh Charities");
ui->charityAddressEdit->setFocus();
Expand Down

0 comments on commit 4e9ac20

Please sign in to comment.