mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-09 11:46:22 -08:00
fixed zone view bug
This commit is contained in:
@@ -51,7 +51,7 @@ void ZoneViewLayout::toggleZoneView(Player *player, const QString &zoneName, int
|
||||
void ZoneViewLayout::removeItem(ZoneViewWidget *item)
|
||||
{
|
||||
qDebug("ZoneViewLayout::removeItem");
|
||||
views.removeAt(views.indexOf(item));
|
||||
delete views.takeAt(views.indexOf(item));
|
||||
reorganize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user