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
@ -24,7 +24,7 @@ impl Card {
|
|||||||
|
|
||||||
/// If the card is new, change its position, and return true.
|
/// If the card is new, change its position, and return true.
|
||||||
fn set_new_position(&mut self, position: u32) -> bool {
|
fn set_new_position(&mut self, position: u32) -> bool {
|
||||||
if self.queue != CardQueue::New || self.ctype != CardType::New {
|
if self.ctype != CardType::New {
|
||||||
false
|
false
|
||||||
} else {
|
} else {
|
||||||
self.due = position as i32;
|
self.due = position as i32;
|
||||||
|
Loading…
Reference in New Issue
Block a user