Skip to content

Commit a2badef

Browse files
committed
GUI: Always show pruning explanation to avoid checkbox jumping around
1 parent 42af959 commit a2badef

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/qt/forms/intro.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
<item>
224224
<widget class="QLabel" name="lblExplanation3">
225225
<property name="text">
226-
<string>If you have chosen to limit block chain storage (pruning), the historical data must still be downloaded and processed, but will be deleted afterward to keep your disk usage low.</string>
226+
<string>If you choose to limit block chain storage (pruning), the historical data must still be downloaded and processed, but will be deleted afterward to keep your disk usage low.</string>
227227
</property>
228228
<property name="wordWrap">
229229
<bool>true</bool>

src/qt/intro.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ void Intro::UpdatePruneLabels(bool prune_checked)
380380
m_required_space_gb = m_prune_target_gb + m_chain_state_size_gb;
381381
storageRequiresMsg = tr("Approximately %1 GB of data will be stored in this directory.");
382382
}
383-
ui->lblExplanation3->setVisible(prune_checked);
384383
ui->pruneGB->setEnabled(prune_checked);
385384
static constexpr uint64_t nPowTargetSpacing = 10 * 60; // from chainparams, which we don't have at this stage
386385
static constexpr uint32_t expected_block_data_size = 2250000; // includes undo data

0 commit comments

Comments
 (0)