aboutsummaryrefslogtreecommitdiff
path: root/qdeduper
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-10-01 00:09:30 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-10-01 00:09:30 -0400
commitdae1dcff2d7d621b33b4c5058d3e8c5aa1f635c2 (patch)
treef4671ed9ef6209a11eaf1276fbbe825eea9fe828 /qdeduper
parente25c84c0463f5a43d3b2bb836850f5c5963a2846 (diff)
downloaddeduper-dae1dcff2d7d621b33b4c5058d3e8c5aa1f635c2.tar.xz
Mark all but one has been broken for 6 days and nobody realized it...
Diffstat (limited to 'qdeduper')
-rw-r--r--qdeduper/mingui.cpp2
1 files changed, 1 insertions, 1 deletions
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();