mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Return early.
Took 18 minutes
This commit is contained in:
parent
ff5ef6c95d
commit
116763aa7d
1 changed files with 3 additions and 1 deletions
|
|
@ -146,7 +146,9 @@ void DlgSelectSetForCards::actOK()
|
||||||
{
|
{
|
||||||
QMap<QString, QStringList> modifiedSetsAndCardsMap = getModifiedCards();
|
QMap<QString, QStringList> modifiedSetsAndCardsMap = getModifiedCards();
|
||||||
|
|
||||||
if (!modifiedSetsAndCardsMap.isEmpty()) {
|
if (modifiedSetsAndCardsMap.isEmpty()) {
|
||||||
|
accept(); // Nothing to do
|
||||||
|
} else {
|
||||||
emit deckAboutToBeModified(tr("Bulk modified printings."));
|
emit deckAboutToBeModified(tr("Bulk modified printings."));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue