fix: threshold step 0.05 → 0.01 for finer control

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-17 09:21:14 +02:00
parent 73d5367424
commit c6c5934fe8
+3 -2
View File
@@ -1565,9 +1565,10 @@ class MainWindow(QMainWindow):
self._btn_scan.clicked.connect(self._start_scan) self._btn_scan.clicked.connect(self._start_scan)
self._sld_threshold = QDoubleSpinBox() self._sld_threshold = QDoubleSpinBox()
self._sld_threshold.setDecimals(2)
self._sld_threshold.setRange(0.0, 1.0) self._sld_threshold.setRange(0.0, 1.0)
self._sld_threshold.setSingleStep(0.05) self._sld_threshold.setSingleStep(0.01)
self._sld_threshold.setValue(0.7) self._sld_threshold.setValue(0.70)
self._sld_threshold.setPrefix("Thr: ") self._sld_threshold.setPrefix("Thr: ")
self._sld_threshold.setToolTip("Similarity threshold (0=match everything, 1=exact match)") self._sld_threshold.setToolTip("Similarity threshold (0=match everything, 1=exact match)")