mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
Visibility updates got lost in the rebase.
Took 7 minutes
This commit is contained in:
parent
fc9d09a28f
commit
d5d57ec469
1 changed files with 4 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ void VisualDeckEditorWidget::clearAllDisplayWidgets()
|
|||
indexToWidgetMap.remove(idx);
|
||||
delete displayWidget;
|
||||
}
|
||||
updatePlaceholderVisibility();
|
||||
}
|
||||
|
||||
void VisualDeckEditorWidget::cleanupInvalidZones(DeckCardZoneDisplayWidget *displayWidget)
|
||||
|
|
@ -294,6 +295,7 @@ void VisualDeckEditorWidget::cleanupInvalidZones(DeckCardZoneDisplayWidget *disp
|
|||
}
|
||||
}
|
||||
delete displayWidget;
|
||||
updatePlaceholderVisibility();
|
||||
}
|
||||
|
||||
// =====================================================================================================================
|
||||
|
|
@ -313,6 +315,7 @@ void VisualDeckEditorWidget::onCardAddition(const QModelIndex &parent, int first
|
|||
constructZoneWidgetForIndex(index);
|
||||
}
|
||||
}
|
||||
updatePlaceholderVisibility();
|
||||
}
|
||||
|
||||
void VisualDeckEditorWidget::onCardRemoval(const QModelIndex &parent, int first, int last)
|
||||
|
|
@ -327,6 +330,7 @@ void VisualDeckEditorWidget::onCardRemoval(const QModelIndex &parent, int first,
|
|||
indexToWidgetMap.remove(idx);
|
||||
}
|
||||
}
|
||||
updatePlaceholderVisibility();
|
||||
}
|
||||
|
||||
void VisualDeckEditorWidget::decklistModelReset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue