diff --git a/src/ui/DoubleTreeWidget.cpp b/src/ui/DoubleTreeWidget.cpp index a12b6c93e..d7bf87144 100644 --- a/src/ui/DoubleTreeWidget.cpp +++ b/src/ui/DoubleTreeWidget.cpp @@ -543,10 +543,8 @@ void DoubleTreeWidget::filesSelected(const QModelIndexList &indexes) { TreeView *treeview = static_cast(obj); if (treeview == stagedFiles) { unstagedFiles->deselectAll(); - stagedFiles->setFocus(); } else if (treeview == unstagedFiles) { stagedFiles->deselectAll(); - unstagedFiles->setFocus(); } } loadEditorContent(indexes);