mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
[PrintingSelector] Don't refresh display if "bump cards to top" is off (#6486)
This commit is contained in:
parent
72a85b58cf
commit
f16c552d97
1 changed files with 4 additions and 2 deletions
|
|
@ -90,8 +90,10 @@ void PrintingSelector::retranslateUi()
|
||||||
|
|
||||||
void PrintingSelector::printingsInDeckChanged()
|
void PrintingSelector::printingsInDeckChanged()
|
||||||
{
|
{
|
||||||
// Delay the update to avoid race conditions
|
if (SettingsCache::instance().getBumpSetsWithCardsInDeckToTop()) {
|
||||||
QTimer::singleShot(100, this, &PrintingSelector::updateDisplay);
|
// Delay the update to avoid race conditions
|
||||||
|
QTimer::singleShot(100, this, &PrintingSelector::updateDisplay);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue