qt: Let OptionsDialog emit a signal if appearance gets changed

This commit is contained in:
xdustinface 2020-09-26 16:58:41 +02:00
parent 957be4813a
commit 3a8d9a4026
2 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
connect(appearance, &AppearanceWidget::appearanceChanged, [=](){ connect(appearance, &AppearanceWidget::appearanceChanged, [=](){
updateWidth(); updateWidth();
Q_EMIT appearanceChanged();
}); });
updatePrivateSendVisibility(); updatePrivateSendVisibility();

View File

@ -67,6 +67,7 @@ private Q_SLOTS:
void updateWidth(); void updateWidth();
Q_SIGNALS: Q_SIGNALS:
void appearanceChanged();
void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort); void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort);
private: private: