"Play top cards until" action now has option for number of hits (#5229)

* create new dlg window

* get thing to work

* move validation into dlg

* remove nodiscard

I'll revert this if someone else complains
This commit is contained in:
RickyRister 2024-12-12 05:03:42 -08:00 committed by GitHub
parent 315cbc0925
commit e9b78c1c59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 130 additions and 23 deletions

View file

@ -267,7 +267,10 @@ private:
bool movingCardsUntil;
QTimer *moveTopCardTimer;
QString previousMovingCardsUntilExpr = {};
int previousMovingCardsUntilNumberOfHits = 1;
FilterString movingCardsUntilFilter;
int movingCardsUntilCounter = 0;
void stopMoveTopCardsUntil();
bool shortcutsActive;
int defaultNumberTopCards = 1;