Sort correctly when adding cards

This commit is contained in:
Buce 2014-02-18 19:16:20 -06:00
parent 6a5f2d2476
commit b32374b453
2 changed files with 8 additions and 2 deletions

View file

@ -54,6 +54,8 @@ public:
private:
DeckLoader *deckList;
InnerDecklistNode *root;
int lastKnownColumn;
Qt::SortOrder lastKnownOrder;
InnerDecklistNode *createNodeIfNeeded(const QString &name, InnerDecklistNode *parent);
QModelIndex nodeToIndex(AbstractDecklistNode *node) const;
void emitRecursiveUpdates(const QModelIndex &index);