mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-17 07:52:16 -07:00
Update visual_deck_editor_sample_hand_widget.cpp
This commit is contained in:
parent
54b74577bf
commit
0d911d7158
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@ VisualDeckEditorSampleHandWidget::VisualDeckEditorSampleHandWidget(QWidget *pare
|
||||||
handSizeSpinBox->setMinimum(1);
|
handSizeSpinBox->setMinimum(1);
|
||||||
connect(handSizeSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), &SettingsCache::instance(),
|
connect(handSizeSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), &SettingsCache::instance(),
|
||||||
&SettingsCache::setVisualDeckEditorSampleHandSize);
|
&SettingsCache::setVisualDeckEditorSampleHandSize);
|
||||||
connect(handSizeSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), this, &VisualDeckEditorSampleHandWidget::updateDisplay);
|
connect(handSizeSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), this,
|
||||||
|
&VisualDeckEditorSampleHandWidget::updateDisplay);
|
||||||
resetAndHandSizeLayout->addWidget(handSizeSpinBox);
|
resetAndHandSizeLayout->addWidget(handSizeSpinBox);
|
||||||
|
|
||||||
layout->addWidget(resetAndHandSizeContainerWidget);
|
layout->addWidget(resetAndHandSizeContainerWidget);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue