mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
leave comment
This commit is contained in:
parent
9b1c161165
commit
5382b89243
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ void VisualDeckStorageWidget::createRootFolderWidget()
|
|||
folderWidget = new VisualDeckStorageFolderDisplayWidget(this, this, SettingsCache::instance().getDeckPath(), false,
|
||||
showFoldersCheckBox->isChecked());
|
||||
|
||||
scrollArea->setWidget(folderWidget);
|
||||
scrollArea->setWidget(folderWidget); // this automatically destroys the old folderWidget
|
||||
scrollArea->widget()->setMaximumWidth(scrollArea->viewport()->width());
|
||||
scrollArea->widget()->adjustSize();
|
||||
updateSortOrder();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue