mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Bugfix: GUI/Options: Correctly read initial value of spkreuse
This commit is contained in:
parent
b7eb294a25
commit
1f15d0d2ee
@ -331,8 +331,9 @@ bool OptionsModel::Init(bilingual_str& error)
|
||||
addOverriddenOption("-port");
|
||||
|
||||
// rwconf settings that require a restart
|
||||
// Caution: This is before general initialisation occurs!
|
||||
f_peerbloomfilters = gArgs.GetBoolArg("-peerbloomfilters", DEFAULT_PEERBLOOMFILTERS);
|
||||
f_rejectspkreuse = (SpkReuseMode != SRM_ALLOW);
|
||||
f_rejectspkreuse = !(gArgs.GetArg("-spkreuse", DEFAULT_SPKREUSE) == "allow" || gArgs.GetBoolArg("-spkreuse", false));
|
||||
|
||||
// Display
|
||||
if (settings.contains("FontForMoney")) {
|
||||
|
Loading…
Reference in New Issue
Block a user