Commit 669c8b38 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

No edit triggers for compare branch tree


(cherry picked from commit e9561eb4)
parent 8cc647a3
...@@ -144,6 +144,7 @@ CompareBranchesView::CompareBranchesView(QWidget *parent, const QString &gitPath ...@@ -144,6 +144,7 @@ CompareBranchesView::CompareBranchesView(QWidget *parent, const QString &gitPath
layout()->addWidget(&m_tree); layout()->addWidget(&m_tree);
m_tree.setHeaderHidden(true); m_tree.setHeaderHidden(true);
m_tree.setEditTriggers(QTreeView::NoEditTriggers);
m_tree.setItemDelegate(new DiffStyleDelegate(this)); m_tree.setItemDelegate(new DiffStyleDelegate(this));
m_tree.expandAll(); m_tree.expandAll();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment