diff options
-rw-r--r-- | qdeduper/mingui.cpp | 2 |
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(); |