fix copy pasting bugs

This commit is contained in:
GenevensiS
2026-05-04 04:57:31 +02:00
parent 8cc17abecc
commit db1fd4f343
6 changed files with 25 additions and 19 deletions
+2 -1
View File
@@ -654,8 +654,9 @@ CardP CardsPanel::selectedCard() const {
return card_list->getCard();
}
void CardsPanel::selectCard(const CardP& card) {
if (!set) return; // we want onChangeSet first
if (!set) return; // we want onChangeSet first
card_list->SetFocus();
card_list->setCard(card);
editor->setCard(card);