mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 23:12:14 -07:00
Lint.
This commit is contained in:
parent
baaecfd983
commit
b206b3e450
1 changed files with 1 additions and 1 deletions
|
|
@ -208,7 +208,7 @@ void VisualDatabaseDisplayWidget::searchModelChanged()
|
||||||
{
|
{
|
||||||
// Clear the current page and prepare for new data
|
// Clear the current page and prepare for new data
|
||||||
flowWidget->clearLayout(); // Clear existing cards
|
flowWidget->clearLayout(); // Clear existing cards
|
||||||
cards->clear(); // Clear the card list
|
cards->clear(); // Clear the card list
|
||||||
// Reset scrollbar position to the top after loading new cards
|
// Reset scrollbar position to the top after loading new cards
|
||||||
QScrollBar *scrollBar = flowWidget->scrollArea->verticalScrollBar();
|
QScrollBar *scrollBar = flowWidget->scrollArea->verticalScrollBar();
|
||||||
if (scrollBar) {
|
if (scrollBar) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue