-
-
Notifications
You must be signed in to change notification settings - Fork 474
More granular decklist signals #5981
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
More granular decklist signals #5981
Conversation
cockatrice/src/client/ui/widgets/cards/card_group_display_widgets/card_group_display_widget.cpp
Outdated
Show resolved
Hide resolved
cockatrice/src/client/ui/widgets/cards/card_group_display_widgets/card_group_display_widget.cpp
Outdated
Show resolved
Hide resolved
...ce/src/client/ui/widgets/cards/card_group_display_widgets/flat_card_group_display_widget.cpp
Outdated
Show resolved
Hide resolved
...ce/src/client/ui/widgets/cards/card_group_display_widgets/flat_card_group_display_widget.cpp
Outdated
Show resolved
Hide resolved
.../client/ui/widgets/cards/card_group_display_widgets/overlapped_card_group_display_widget.cpp
Outdated
Show resolved
Hide resolved
cockatrice/src/client/ui/widgets/cards/deck_card_zone_display_widget.cpp
Outdated
Show resolved
Hide resolved
cockatrice/src/client/ui/widgets/cards/deck_card_zone_display_widget.cpp
Outdated
Show resolved
Hide resolved
@@ -420,11 +424,44 @@ QModelIndex DeckListModel::addCard(const QString &cardName, | |||
cardNode->setCardProviderId(cardInfoSet.getProperty("uuid")); | |||
deckList->refreshDeckHash(); | |||
} | |||
sort(lastKnownColumn, lastKnownOrder); | |||
// sort(lastKnownColumn, lastKnownOrder); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanna see if disabling this has any effect now that we pre-sort but I'd like to keep it there as a reminder in case things don't work out.
a70e282
to
17c52f2
Compare
Related Ticket(s)
Short roundup of the initial problem
The current DeckListModel isn't very MVC compliant which causes a fair amount of issues when working with custom views. Also, the visual deck editor isn't MVC model compliant.
What will change with this Pull Request?
Screenshots