mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
fix unflatten folder still not applying afterwards
This commit is contained in:
parent
01ff3f8acb
commit
fff7d122d5
2 changed files with 1 additions and 5 deletions
|
|
@ -100,10 +100,7 @@ void DeckPreviewWidget::initializeUi(const bool deckLoadSuccess)
|
|||
|
||||
void DeckPreviewWidget::updateVisibility()
|
||||
{
|
||||
if (isVisible() != checkVisibility()) {
|
||||
setHidden(!checkVisibility());
|
||||
emit visibilityUpdated();
|
||||
}
|
||||
setHidden(!checkVisibility());
|
||||
}
|
||||
|
||||
bool DeckPreviewWidget::checkVisibility() const
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ public:
|
|||
signals:
|
||||
void deckLoadRequested(const QString &filePath);
|
||||
void openDeckEditor(const DeckLoader *deck);
|
||||
void visibilityUpdated();
|
||||
|
||||
public slots:
|
||||
void setFilePath(const QString &filePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue