Skip to content

Commit

Permalink
feat: Abnormal background color selected in symbol plugin
Browse files Browse the repository at this point in the history
Abnormal background color selected in symbol plugin
  • Loading branch information
JWWTSL committed Nov 24, 2023
1 parent 8796f54 commit 77bd82b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugins/symbol/mainframe/symboltreeview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ SymbolTreeView::SymbolTreeView(DWidget *parent)
setEditTriggers(DTreeView::NoEditTriggers); //节点不能编辑
setSelectionBehavior(DTreeView::SelectRows); //一次选中整行
setSelectionMode(DTreeView::SingleSelection); //单选,配合上面的整行就是一次选单行
setFocusPolicy(Qt::NoFocus); //去掉鼠标移到节点上时的虚线框
header()->setVisible(false);
QObject::connect(this, &DTreeView::doubleClicked,
this, &SymbolTreeView::doDoubleClieked,
Expand Down

0 comments on commit 77bd82b

Please sign in to comment.