Skip to content

Commit

Permalink
qt: Let OptionsDialog emit a signal if appearance gets changed
Browse files Browse the repository at this point in the history
  • Loading branch information
xdustinface committed Sep 28, 2020
1 parent 957be48 commit 3a8d9a4
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/qt/optionsdialog.cpp
Original file line number Diff line number Diff line change
@@ -160,6 +160,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :

connect(appearance, &AppearanceWidget::appearanceChanged, [=](){
updateWidth();
Q_EMIT appearanceChanged();
});

updatePrivateSendVisibility();
1 change: 1 addition & 0 deletions src/qt/optionsdialog.h
Original file line number Diff line number Diff line change
@@ -67,6 +67,7 @@ private Q_SLOTS:
void updateWidth();

Q_SIGNALS:
void appearanceChanged();
void proxyIpChecks(QValidatedLineEdit *pUiProxyIp, int nProxyPort);

private:

0 comments on commit 3a8d9a4

Please sign in to comment.