Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix related cards menu in deck editor #3649

Merged
merged 1 commit into from
Mar 10, 2019
Merged

Conversation

ctrlaltca
Copy link
Contributor

Related Ticket(s)

Short roundup of the initial problem

The right-click menu on the card database in the deck editor (introduced in #3113) doesn't show reverse-related cards.

What will change with this Pull Request?

There are a few places in the code where the list of related cards and reverse-related cards were retrieved separately. A method to get them all in a single call already exists, so just use it instead.

Copy link
Member

@ebbit1q ebbit1q left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup tested.

@ctrlaltca ctrlaltca merged commit 6f95556 into Cockatrice:master Mar 10, 2019
@ctrlaltca ctrlaltca deleted the related branch March 10, 2019 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants