don't open deck in new tab if current tab is blank (#5169)

This commit is contained in:
RickyRister 2024-11-18 02:59:34 -08:00 committed by GitHub
parent f4e2f117c3
commit 86a4b130ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View file

@ -100,6 +100,7 @@ private slots:
void showSearchSyntaxHelp();
private:
bool isBlankNewDeck() const;
CardInfoPtr currentCardInfo() const;
void addCardHelper(QString zoneName);
void offsetCountAtIndex(const QModelIndex &idx, int offset);