aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/instance/WorldListPage.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-07 13:21:21 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-07 13:21:21 -0700
commit884ac7307817e10f04512a29213a017ca344c16d (patch)
tree37bcb97dfec8516edba3501a5475b1daf314d2b7 /launcher/ui/pages/instance/WorldListPage.cpp
parent718abaae0ef465050c81c0dfba63ce9f0fff17fc (diff)
parentce5bb29c442cee3654c5f4287a999d5d6593032f (diff)
downloadPrismLauncher-884ac7307817e10f04512a29213a017ca344c16d.tar.gz
PrismLauncher-884ac7307817e10f04512a29213a017ca344c16d.tar.bz2
PrismLauncher-884ac7307817e10f04512a29213a017ca344c16d.zip
Merge remote-tracking branch 'upstream/develop' into better-tasks
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/ui/pages/instance/WorldListPage.cpp')
-rw-r--r--launcher/ui/pages/instance/WorldListPage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/pages/instance/WorldListPage.cpp b/launcher/ui/pages/instance/WorldListPage.cpp
index d4a395d9..b6ad159e 100644
--- a/launcher/ui/pages/instance/WorldListPage.cpp
+++ b/launcher/ui/pages/instance/WorldListPage.cpp
@@ -107,6 +107,7 @@ WorldListPage::WorldListPage(BaseInstance *inst, std::shared_ptr<WorldList> worl
auto head = ui->worldTreeView->header();
head->setSectionResizeMode(0, QHeaderView::Stretch);
head->setSectionResizeMode(1, QHeaderView::ResizeToContents);
+ head->setSectionResizeMode(4, QHeaderView::ResizeToContents);
connect(ui->worldTreeView->selectionModel(), &QItemSelectionModel::currentChanged, this, &WorldListPage::worldChanged);
worldChanged(QModelIndex(), QModelIndex());