From 3a8d9a40263362234b0558f44212824724518b68 Mon Sep 17 00:00:00 2001 From: xdustinface Date: Sat, 26 Sep 2020 16:58:41 +0200 Subject: [PATCH] qt: Let OptionsDialog emit a signal if appearance gets changed --- src/qt/optionsdialog.cpp | 1 + src/qt/optionsdialog.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 9c4052f9b8..78b01ada20 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -160,6 +160,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) : connect(appearance, &AppearanceWidget::appearanceChanged, [=](){ updateWidth(); + Q_EMIT appearanceChanged(); }); updatePrivateSendVisibility(); diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h index 9cacfe9e11..b2d6c3f570 100644 --- a/src/qt/optionsdialog.h +++ b/src/qt/optionsdialog.h @@ -67,6 +67,7 @@ private Q_SLOTS: void updateWidth(); Q_SIGNALS: + void appearanceChanged(); void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort); private: