[gui] add explicit prune setter

This makes it possible to enable pruning after the OptionsModel has been initialized and reset.
This commit is contained in:
Sjors Provoost
2019-08-24 22:31:14 +02:00
parent 1bccf6a52d
commit 1957103786
4 changed files with 26 additions and 5 deletions

View File

@@ -77,6 +77,9 @@ public:
bool getCoinControlFeatures() const { return fCoinControlFeatures; }
const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; }
/* Explicit setters */
void SetPrune(bool prune, bool force = false);
/* Restart flag helper */
void setRestartRequired(bool fRequired);
bool isRestartRequired() const;