[DeckEditor] Expand DeckDock TreeView when adding card through deck editor (#6388)

* [DeckEditor] Expand DeckDock TreeView when adding card through deck editor

* [DeckEditor] Expand first, then set selection.
This commit is contained in:
BruebachL 2025-12-02 22:19:44 +01:00 committed by GitHub
parent f0ebd28148
commit 30cc8ad6f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -69,6 +69,7 @@ public slots:
void actSwapCard();
void actRemoveCard();
void offsetCountAtIndex(const QModelIndex &idx, int offset);
void expandAll();
signals:
void nameChanged();
@ -117,7 +118,6 @@ private slots:
void updateShowBannerCardComboBox(bool visible);
void updateShowTagsWidget(bool visible);
void syncBannerCardComboBoxSelectionWithDeck();
void expandAll();
};
#endif // DECK_EDITOR_DECK_DOCK_WIDGET_H