diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-04-28 15:29:12 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-10-08 12:56:06 -0400 |
commit | 742918c8ef353993a07c060f476a160e8272a9ef (patch) | |
tree | ecb9fed1f41caa670da2aafef33e2ebed8754043 /src/qt/optionsmodel.h | |
parent | 5c3b800acd3ceb75ff6bbac8d0e2e1aaa95b0728 (diff) | |
download | bitcoin-742918c8ef353993a07c060f476a160e8272a9ef.tar.xz |
qt: hide Create Unsigned button behind an expert mode option
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r-- | src/qt/optionsmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 65544acfbd..e5d5d1c1b7 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -70,6 +70,7 @@ public: SpendZeroConfChange, // bool Listen, // bool Server, // bool + EnablePSBTControls, // bool OptionIDRowCount, }; @@ -91,6 +92,7 @@ public: bool getUseEmbeddedMonospacedFont() const { return m_use_embedded_monospaced_font; } bool getCoinControlFeatures() const { return fCoinControlFeatures; } bool getSubFeeFromAmount() const { return m_sub_fee_from_amount; } + bool getEnablePSBTControls() const { return m_enable_psbt_controls; } const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; } /* Explicit setters */ @@ -116,6 +118,7 @@ private: bool m_use_embedded_monospaced_font; bool fCoinControlFeatures; bool m_sub_fee_from_amount; + bool m_enable_psbt_controls; /* settings that were overridden by command-line */ QString strOverriddenByCommandLine; |