From 2f6f73383c26d28931a1b7b0400ad8a7c7f1c8ed Mon Sep 17 00:00:00 2001 From: tobtoht Date: Wed, 2 Mar 2022 16:49:43 +0100 Subject: [PATCH] Settings: set localmonero combobox correctly --- src/SettingsDialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SettingsDialog.cpp b/src/SettingsDialog.cpp index 10a8112..bb4ffe1 100644 --- a/src/SettingsDialog.cpp +++ b/src/SettingsDialog.cpp @@ -102,6 +102,7 @@ Settings::Settings(QSharedPointer ctx, QWidget *parent) }); // Links tab + this->setupLocalMoneroFrontendCombobox(); connect(ui->combo_blockExplorer, QOverload::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_blockExplorerChanged); connect(ui->combo_redditFrontend, QOverload::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_redditFrontendChanged); connect(ui->combo_localMoneroFrontend, QOverload::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_localMoneroFrontendChanged); @@ -109,8 +110,6 @@ Settings::Settings(QSharedPointer ctx, QWidget *parent) ui->combo_blockExplorer->setCurrentIndex(ui->combo_blockExplorer->findText(config()->get(Config::blockExplorer).toString())); ui->combo_redditFrontend->setCurrentIndex(ui->combo_redditFrontend->findText(config()->get(Config::redditFrontend).toString())); - this->setupLocalMoneroFrontendCombobox(); - this->adjustSize(); }