From dae1dcff2d7d621b33b4c5058d3e8c5aa1f635c2 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 1 Oct 2022 00:09:30 -0400 Subject: Mark all but one has been broken for 6 days and nobody realized it... --- qdeduper/mingui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qdeduper') diff --git a/qdeduper/mingui.cpp b/qdeduper/mingui.cpp index e7ceeab..5b05a72 100644 --- a/qdeduper/mingui.cpp +++ b/qdeduper/mingui.cpp @@ -873,7 +873,7 @@ void DeduperMainWindow::mark_all_but(size_t x) for (int i = 0; i < im->rowCount(); ++i) { Qt::CheckState ckst = (i == x) ? Qt::CheckState::Unchecked : Qt::CheckState::Checked; - im->item(x)->setCheckState(ckst); + im->item(i)->setCheckState(ckst); } } marked_update(); -- cgit v1.2.3