Skip to content

Commit 3a8d9a4

Browse files
committed
qt: Let OptionsDialog emit a signal if appearance gets changed
1 parent 957be48 commit 3a8d9a4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/qt/optionsdialog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
160160

161161
connect(appearance, &AppearanceWidget::appearanceChanged, [=](){
162162
updateWidth();
163+
Q_EMIT appearanceChanged();
163164
});
164165

165166
updatePrivateSendVisibility();

src/qt/optionsdialog.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ private Q_SLOTS:
6767
void updateWidth();
6868

6969
Q_SIGNALS:
70+
void appearanceChanged();
7071
void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort);
7172

7273
private:

0 commit comments

Comments
 (0)