mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
fixed zone view bug
This commit is contained in:
parent
bf868d5abc
commit
bfa0d9bfa2
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ void ZoneViewLayout::toggleZoneView(Player *player, const QString &zoneName, int
|
||||||
void ZoneViewLayout::removeItem(ZoneViewWidget *item)
|
void ZoneViewLayout::removeItem(ZoneViewWidget *item)
|
||||||
{
|
{
|
||||||
qDebug("ZoneViewLayout::removeItem");
|
qDebug("ZoneViewLayout::removeItem");
|
||||||
views.removeAt(views.indexOf(item));
|
delete views.takeAt(views.indexOf(item));
|
||||||
reorganize();
|
reorganize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue