aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-05 13:46:01 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-05 13:46:01 -0700
commit3cfcc83ea99e8f42dba8848b5ef885c296b4566a (patch)
treedf347b201c90e99d8a9811b39f1b565c31057413
parentee94be624eb11a12d4eb3e07c32ea4734b3ba6dc (diff)
downloadPrismLauncher-3cfcc83ea99e8f42dba8848b5ef885c296b4566a.tar.gz
PrismLauncher-3cfcc83ea99e8f42dba8848b5ef885c296b4566a.tar.bz2
PrismLauncher-3cfcc83ea99e8f42dba8848b5ef885c296b4566a.zip
change: don't toggle a resource's enabeling just by selecting it. only if they are on the checkbox.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
-rw-r--r--launcher/ui/pages/instance/ExternalResourcesPage.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/launcher/ui/pages/instance/ExternalResourcesPage.cpp b/launcher/ui/pages/instance/ExternalResourcesPage.cpp
index 1115ddc3..6c11b85b 100644
--- a/launcher/ui/pages/instance/ExternalResourcesPage.cpp
+++ b/launcher/ui/pages/instance/ExternalResourcesPage.cpp
@@ -96,7 +96,6 @@ void ExternalResourcesPage::itemActivated(const QModelIndex&)
return;
auto selection = m_filterModel->mapSelectionToSource(ui->treeView->selectionModel()->selection());
- m_model->setResourceEnabled(selection.indexes(), EnableAction::TOGGLE);
}
void ExternalResourcesPage::filterTextChanged(const QString& newContents)