mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 21:35:28 +00:00
Disable expandsOnDoubleClick for Functions widget. (#3172)
closes #2788
This commit is contained in:
parent
882f340481
commit
b63ea5b3e4
@ -508,6 +508,7 @@ FunctionsWidget::FunctionsWidget(MainWindow *main)
|
|||||||
functionProxyModel = new FunctionSortFilterProxyModel(functionModel, this);
|
functionProxyModel = new FunctionSortFilterProxyModel(functionModel, this);
|
||||||
setModels(functionProxyModel);
|
setModels(functionProxyModel);
|
||||||
ui->treeView->sortByColumn(FunctionModel::NameColumn, Qt::AscendingOrder);
|
ui->treeView->sortByColumn(FunctionModel::NameColumn, Qt::AscendingOrder);
|
||||||
|
ui->treeView->setExpandsOnDoubleClick(false);
|
||||||
|
|
||||||
titleContextMenu = new QMenu(this);
|
titleContextMenu = new QMenu(this);
|
||||||
auto viewTypeGroup = new QActionGroup(titleContextMenu);
|
auto viewTypeGroup = new QActionGroup(titleContextMenu);
|
||||||
|
Loading…
Reference in New Issue
Block a user