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()
|
void DeckPreviewWidget::updateVisibility()
|
||||||
{
|
{
|
||||||
if (isVisible() != checkVisibility()) {
|
setHidden(!checkVisibility());
|
||||||
setHidden(!checkVisibility());
|
|
||||||
emit visibilityUpdated();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DeckPreviewWidget::checkVisibility() const
|
bool DeckPreviewWidget::checkVisibility() const
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@ public:
|
||||||
signals:
|
signals:
|
||||||
void deckLoadRequested(const QString &filePath);
|
void deckLoadRequested(const QString &filePath);
|
||||||
void openDeckEditor(const DeckLoader *deck);
|
void openDeckEditor(const DeckLoader *deck);
|
||||||
void visibilityUpdated();
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void setFilePath(const QString &filePath);
|
void setFilePath(const QString &filePath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue