fix view transform button disappearing on click (#5535)

This commit is contained in:
RickyRister 2025-01-31 19:31:09 -08:00 committed by GitHub
parent 33d8edeb9a
commit 34e0130b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -151,9 +151,6 @@ void CardInfoFrameWidget::setCard(CardInfoPtr card)
disconnect(info.data(), nullptr, this, nullptr);
}
if (viewTransformationButton) {
viewTransformationButton->setVisible(false);
}
info = std::move(card);
if (info) {