diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-08-24 22:31:14 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-08-24 22:36:11 +0200 |
commit | 1957103786f97135f35ababc97efa1b481865eb0 (patch) | |
tree | 35064141c2a91d0f4c2b63b6282854578ae8357c /src/qt/bitcoin.cpp | |
parent | 1bccf6a52d7fc08d8f605cfb2edc3277ec299c72 (diff) |
[gui] add explicit prune setter
This makes it possible to enable pruning after the OptionsModel has been initialized and reset.
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index adc19df935..f2e62040ae 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -282,6 +282,10 @@ void BitcoinApplication::parameterSetup() m_node.initParameterInteraction(); } +void BitcoinApplication::SetPrune(bool prune, bool force) { + optionsModel->SetPrune(prune, force); +} + void BitcoinApplication::requestInitialize() { qDebug() << __func__ << ": Requesting initialize"; |