mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
add dependency checks for card.linked_card_x
This commit is contained in:
@@ -556,7 +556,7 @@ bool CardsPanel::canCopy() const { CUT_COPY_PASTE(canCopy, return) }
|
||||
void CardsPanel::doCut() { CUT_COPY_PASTE(doCut, return (void)) }
|
||||
void CardsPanel::doCopy() { CUT_COPY_PASTE(doCopy, return (void)) }
|
||||
|
||||
// always alow pasting cards, even if something else is selected
|
||||
// always allow pasting cards, even if something else is selected
|
||||
bool CardsPanel::canPaste() const {
|
||||
if (card_list->canPaste()) return true;
|
||||
int id = focused_control(this);
|
||||
|
||||
Reference in New Issue
Block a user