mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
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:
parent
187944615e
commit
1f4d54efda
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue