From b63ea5b3e4d6829331e5aca2de015cdd4f184379 Mon Sep 17 00:00:00 2001 From: Lucas Hosseini Date: Tue, 9 May 2023 03:49:43 +0200 Subject: [PATCH] Disable expandsOnDoubleClick for Functions widget. (#3172) closes #2788 --- src/widgets/FunctionsWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/FunctionsWidget.cpp b/src/widgets/FunctionsWidget.cpp index 61dad3fe..8c439b1d 100644 --- a/src/widgets/FunctionsWidget.cpp +++ b/src/widgets/FunctionsWidget.cpp @@ -508,6 +508,7 @@ FunctionsWidget::FunctionsWidget(MainWindow *main) functionProxyModel = new FunctionSortFilterProxyModel(functionModel, this); setModels(functionProxyModel); ui->treeView->sortByColumn(FunctionModel::NameColumn, Qt::AscendingOrder); + ui->treeView->setExpandsOnDoubleClick(false); titleContextMenu = new QMenu(this); auto viewTypeGroup = new QActionGroup(titleContextMenu);