mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
merge bitcoin-core/gui#615: If -prune=0 is set, Uncheck Prune on Intro page
This commit is contained in:
parent
3d5aca6a0b
commit
1a2c02a42d
@ -293,7 +293,7 @@ void Intro::setStatus(int status, const QString &message, quint64 bytesAvailable
|
||||
ui->freeSpace->setText("");
|
||||
} else {
|
||||
m_bytes_available = bytesAvailable;
|
||||
if (ui->prune->isEnabled()) {
|
||||
if (ui->prune->isEnabled() && !(gArgs.IsArgSet("-prune") && gArgs.GetArg("-prune", 0) == 0)) {
|
||||
ui->prune->setChecked(m_bytes_available < (m_blockchain_size_gb + m_chain_state_size_gb + 10) * GB_BYTES);
|
||||
}
|
||||
UpdateFreeSpaceLabel();
|
||||
|
Loading…
Reference in New Issue
Block a user