mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
support multi-select in deck editor (#5397)
* support multiselect in deck editor * fix crash * don't reset selection after each action * maintain old reselecting behavior when changing cards from left side * fix crash for real (probably) * maintain reselection behavior when deleting single selection
This commit is contained in:
parent
99eea3a662
commit
34df4cd060
2 changed files with 70 additions and 15 deletions
|
|
@ -111,6 +111,8 @@ private:
|
|||
void recursiveExpand(const QModelIndex &index);
|
||||
void openDeckFromFile(const QString &fileName, DeckOpenLocation deckOpenLocation);
|
||||
|
||||
QModelIndexList getSelectedCardNodes() const;
|
||||
|
||||
CardDatabaseModel *databaseModel;
|
||||
CardDatabaseDisplayModel *databaseDisplayModel;
|
||||
DeckListModel *deckModel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue