diff options
| author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-12 10:58:27 +0200 |
|---|---|---|
| committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-12 10:58:27 +0200 |
| commit | 6423edaa76c362ea9fd32a4a0ddeda78e06793db (patch) | |
| tree | 4e052ff604fc42831ef28fe1efa6fc77ed352b03 /launcher/minecraft/mod/ResourceFolderModel.cpp | |
| parent | 74fe2fb2a6282a9292cc912b865ce0179dbc3412 (diff) | |
| parent | 44153a28e369943ea16545146fec81f7a62e44dd (diff) | |
| download | PrismLauncher-6423edaa76c362ea9fd32a4a0ddeda78e06793db.tar.gz PrismLauncher-6423edaa76c362ea9fd32a4a0ddeda78e06793db.tar.bz2 PrismLauncher-6423edaa76c362ea9fd32a4a0ddeda78e06793db.zip | |
Merge remote-tracking branch 'upstream/staging' into curseforge-url-handle
Diffstat (limited to 'launcher/minecraft/mod/ResourceFolderModel.cpp')
| -rw-r--r-- | launcher/minecraft/mod/ResourceFolderModel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/ResourceFolderModel.cpp b/launcher/minecraft/mod/ResourceFolderModel.cpp index 39a61067..d834c359 100644 --- a/launcher/minecraft/mod/ResourceFolderModel.cpp +++ b/launcher/minecraft/mod/ResourceFolderModel.cpp @@ -552,6 +552,8 @@ QMenu* ResourceFolderModel::createHeaderContextMenu(QTreeView* tree) menu->addSeparator()->setText(tr("Show / Hide Columns")); for (int col = 0; col < columnCount(); ++col) { + // Skip creating actions for columns that should not be hidden + if (!m_columnsHideable.at(col)) continue; auto act = new QAction(menu); setupHeaderAction(act, col); |
