Commit Graph
5 Commits
Author SHA1 Message Date
Buce 401b34d22c Clean up DecklistModel::addCard()
Split common functionality out of the if-else block.
2014-02-28 15:45:29 -06:00
Buce 875df01424 Fix GUI glitches when adding cards to a deck
Since we no longer sort on just card names, we need to emit updates
for the parent of the card we add.
2014-02-28 15:44:46 -06:00
Buce b32374b453 Sort correctly when adding cards 2014-02-28 15:43:43 -06:00
Buce 6a5f2d2476 Allow sorting on different columns 2014-02-28 15:41:29 -06:00
Buce a62ba91a5d Add different compare methods for sorting
Give DeckList nodes the ability to sort based on name, price, or
number.
2014-02-28 15:38:23 -06:00