From 1f4d54efda4e7a57b141fb305036184876df1789 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 15 Aug 2021 15:06:25 +1000 Subject: [PATCH] allow repositioning of new cards while suspended https://forums.ankiweb.net/t/no-longer-can-reposition-a-suspended-card/12241 --- rslib/src/scheduler/new.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/scheduler/new.rs b/rslib/src/scheduler/new.rs index f0c9cdb49..a2baa1d97 100644 --- a/rslib/src/scheduler/new.rs +++ b/rslib/src/scheduler/new.rs @@ -24,7 +24,7 @@ impl Card { /// If the card is new, change its position, and return true. fn set_new_position(&mut self, position: u32) -> bool { - if self.queue != CardQueue::New || self.ctype != CardType::New { + if self.ctype != CardType::New { false } else { self.due = position as i32;