aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/instance/WorldListPage.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-05-03 00:56:26 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-05-03 00:56:26 +0300
commit42dc3ed03f76f1064d6367a4d90f7cea895bcb6b (patch)
tree5923fa27324aef89b6539c69e8d4d242302097fd /launcher/ui/pages/instance/WorldListPage.cpp
parentf6ed2036b34177d7f932007dc5b3cc3d59f99aea (diff)
parent64ba5e4ed1456bed159cfe7b41ed9175b8baf5c4 (diff)
downloadPrismLauncher-42dc3ed03f76f1064d6367a4d90f7cea895bcb6b.tar.gz
PrismLauncher-42dc3ed03f76f1064d6367a4d90f7cea895bcb6b.tar.bz2
PrismLauncher-42dc3ed03f76f1064d6367a4d90f7cea895bcb6b.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into Fix_Assert
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());