allow repositioning of new cards while suspended

https://forums.ankiweb.net/t/no-longer-can-reposition-a-suspended-card/12241
This commit is contained in:
Damien Elmes 2021-08-15 15:06:25 +10:00
parent 187944615e
commit 1f4d54efda

View File

@ -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;