mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Reduce capture scope.
This commit is contained in:
parent
dbcef85158
commit
071620daab
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ DeckPreviewTagDialog::DeckPreviewTagDialog(const QStringList &knownTags, const Q
|
||||||
|
|
||||||
connect(addTagButton, &QPushButton::clicked, this, &DeckPreviewTagDialog::addTag);
|
connect(addTagButton, &QPushButton::clicked, this, &DeckPreviewTagDialog::addTag);
|
||||||
connect(newTagInput, &QLineEdit::textChanged, this,
|
connect(newTagInput, &QLineEdit::textChanged, this,
|
||||||
[=, this](const QString &text) { addTagButton->setEnabled(!text.trimmed().isEmpty()); });
|
[this](const QString &text) { addTagButton->setEnabled(!text.trimmed().isEmpty()); });
|
||||||
|
|
||||||
// OK and Cancel buttons
|
// OK and Cancel buttons
|
||||||
buttonLayout = new QHBoxLayout(this);
|
buttonLayout = new QHBoxLayout(this);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue