mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
remove break statement when closing views
it's possible that multiple views need to be closed this is an oversight of #4570
This commit is contained in:
parent
f56b672307
commit
80719febaf
1 changed files with 1 additions and 2 deletions
|
|
@ -60,7 +60,6 @@ void PlayerEventHandler::eventShuffle(const Event_Shuffle &event)
|
||||||
// we want to close empty views as well
|
// we want to close empty views as well
|
||||||
if (length == 0 || length > absStart) { // note this assumes views always start at the top of the library
|
if (length == 0 || length > absStart) { // note this assumes views always start at the top of the library
|
||||||
view->close();
|
view->close();
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
qWarning() << zone->getName() << "of" << player->getPlayerInfo()->getName() << "holds empty zoneview!";
|
qWarning() << zone->getName() << "of" << player->getPlayerInfo()->getName() << "holds empty zoneview!";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue