mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 02:23:55 -07:00
ZoneView now floats above cardfield
This commit is contained in:
parent
dff26376fd
commit
ebca375755
1 changed files with 2 additions and 1 deletions
|
|
@ -50,6 +50,7 @@ void ZoneViewLayout::toggleZoneView(Player *player, const QString &zoneName, int
|
||||||
connect(item, SIGNAL(closePressed(ZoneViewWidget *)), this, SLOT(removeItem(ZoneViewWidget *)));
|
connect(item, SIGNAL(closePressed(ZoneViewWidget *)), this, SLOT(removeItem(ZoneViewWidget *)));
|
||||||
connect(item, SIGNAL(sizeChanged()), this, SLOT(reorganize()));
|
connect(item, SIGNAL(sizeChanged()), this, SLOT(reorganize()));
|
||||||
reorganize();
|
reorganize();
|
||||||
|
setZValue(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ZoneViewLayout::removeItem(ZoneViewWidget *item)
|
void ZoneViewLayout::removeItem(ZoneViewWidget *item)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue