Merge pull request 'Fix config option reddit' (#62) from dsc/wowlet:fix-settings-reddit into master

Reviewed-on: https://git.wownero.com/wowlet/wowlet/pulls/62
This commit is contained in:
wowario 2021-05-11 05:48:56 +00:00
commit e3cf87906b

View file

@ -51,6 +51,9 @@ Settings::Settings(QWidget *parent) :
connect(ui->comboBox_blockExplorer, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_blockExplorerChanged);
connect(ui->comboBox_redditFrontend, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_redditFrontendChanged);
// setup reddit combobox
ui->comboBox_redditFrontend->setCurrentText(config()->get(Config::redditFrontend).toString());
// setup preferred fiat currency combobox
QStringList fiatCurrencies;
for (int index = 0; index < ui->comboBox_fiatCurrency->count(); index++)