mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
[PrintingSelector] Properly initialize font size on each card load
This commit is contained in:
parent
c02cf5e89e
commit
275b639e0f
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ SetNameAndCollectorsNumberDisplayWidget::SetNameAndCollectorsNumberDisplayWidget
|
||||||
|
|
||||||
// Store the card size slider and connect its signal to the font size adjustment slot
|
// Store the card size slider and connect its signal to the font size adjustment slot
|
||||||
connect(cardSizeSlider, &QSlider::valueChanged, this, &SetNameAndCollectorsNumberDisplayWidget::adjustFontSize);
|
connect(cardSizeSlider, &QSlider::valueChanged, this, &SetNameAndCollectorsNumberDisplayWidget::adjustFontSize);
|
||||||
|
adjustFontSize(cardSizeSlider->value());
|
||||||
|
|
||||||
// Add labels to the layout
|
// Add labels to the layout
|
||||||
layout->addWidget(setName);
|
layout->addWidget(setName);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue