summaryrefslogtreecommitdiff
path: root/src/powerlist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/powerlist.cc')
-rw-r--r--src/powerlist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powerlist.cc b/src/powerlist.cc
index 56962d7..67dae2f 100644
--- a/src/powerlist.cc
+++ b/src/powerlist.cc
@@ -215,7 +215,7 @@ Sample* PowerList::get(level_t level)
return nullptr; // No samples to choose from.
}
- int retry = 3; // TODO: This must be user controllable via the UI.
+ int retry = settings.sample_selection_retry_count.load();
Sample* sample{nullptr};